Mitchell Blank Jr
4ebd0361e4
Helper functions for st_foreach() return "enum st_retval" not "int"
...
Just making this a bit more consistent throughout the code
2012-05-19 23:16:54 -07:00
Mitchell Blank Jr
3471e2b134
C++ compilability - don't define types inside others
...
The following is legal code in both C and C++:
struct foo {
struct bar { int a } x;
int y;
};
...however in C++ it defines a type called "foo::bar" instead of "bar".
Just avoid this construct altogether
2012-05-19 22:40:57 -07:00
Mitchell Blank Jr
4105b59568
C++ compilability -- make mrb_object() macro return an RObject, not void
2012-05-19 22:18:34 -07:00
Yukihiro "Matz" Matsumoto
c8b679bf69
Merge pull request #166 from bovi/master
...
Add Tests for String, Hash, Range and Symbol
2012-05-19 16:14:56 -07:00
Daniel Bovensiepen
4a8c740cb6
Delete Plattform status again
2012-05-19 23:21:07 +08:00
Daniel Bovensiepen
e4adbc733a
Merge branch 'master' of github.com:bovi/mruby
2012-05-19 23:19:53 +08:00
Daniel Bovensiepen
d45ecc3270
Complete ISO test cases for Hash, Range, String and Symbol
2012-05-19 23:18:42 +08:00
Yukihiro Matsumoto
d0a7b08303
mirb code termination policy changed
2012-05-19 22:20:16 +09:00
Yukihiro Matsumoto
d10aec8aa9
mirb termination command renamed to quit
2012-05-19 22:10:46 +09:00
Yukihiro Matsumoto
7701795951
unterminated string detection made easy
2012-05-19 22:10:15 +09:00
Yukihiro Matsumoto
2ed31892a8
should initialize p->sterm every parse time
2012-05-19 17:52:41 +09:00
Daniel Bovensiepen
e7b9c2bcee
Add information file for supported plattforms
2012-05-19 01:00:08 -07:00
Yukihiro Matsumoto
59da9f6974
remove src/pool.h; close #163
2012-05-19 16:56:15 +09:00
Yukihiro Matsumoto
04cafb7fb3
even smarter expression termination detection
2012-05-19 16:44:36 +09:00
Yukihiro Matsumoto
6f6c270bb1
mirb should detect end of expression smarter
2012-05-19 16:15:11 +09:00
Yukihiro Matsumoto
aeca23166b
remove dependency to node.h and pool.h
2012-05-19 15:52:47 +09:00
Yukihiro Matsumoto
cb8b4691f0
p->tree may be NULL; close #161
2012-05-19 15:37:41 +09:00
Yukihiro "Matz" Matsumoto
6421887917
Merge pull request #160 from bovi/master
...
Finish all Integer ISO Tests
2012-05-18 18:57:32 -07:00
Daniel Bovensiepen
8bf21cdeae
Finish all Float ISO Tests
2012-05-19 02:21:26 +08:00
Daniel Bovensiepen
2331738c21
Complete Integer Tests for ISO
2012-05-19 00:44:43 +08:00
Yukihiro Matsumoto
00c419f066
remove obsolete minimain.c
2012-05-18 22:32:10 +09:00
Yukihiro Matsumoto
53f74d50ae
update test/Makefile
2012-05-18 17:36:43 +09:00
Yukihiro "Matz" Matsumoto
9461da4a6c
Merge pull request #157 from mattn/no_close_stdin
...
don't close stdin.
2012-05-18 00:34:57 -07:00
Yukihiro "Matz" Matsumoto
631ab3536d
Merge pull request #158 from pbosetti/tests
...
Minor edits to test suite and Math module
2012-05-18 00:33:43 -07:00
Paolo Bosetti
d1f6f504d5
Added some tests for Math module. Some refactoring in math.c; numeric tolerance exported as Math::TOLERANCE and also used for fuzzy tests in mrbtest suite
2012-05-17 23:50:56 -07:00
mattn
751d391aab
don't close stdin.
2012-05-18 15:36:18 +09:00
Yukihiro Matsumoto
2728f30297
implement Kernel#p in Ruby
2012-05-18 15:01:45 +09:00
Paolo Bosetti
8027d5120d
Merge branch 'tests' of github.com:pbosetti/mruby into tests
2012-05-17 22:55:35 -07:00
Yukihiro Matsumoto
f7406435f3
mruby should read from stdin when no argument given
2012-05-18 14:51:27 +09:00
Yukihiro Matsumoto
f81ddf9025
terminate programs after showing version/copyright
2012-05-18 14:49:09 +09:00
Yukihiro Matsumoto
f4bacab18b
rename ruby_show_version to mrb_show_version
2012-05-18 14:45:05 +09:00
Yukihiro Matsumoto
1ace96a943
remove unused prototype
2012-05-18 14:42:07 +09:00
Yukihiro Matsumoto
fb60a2191a
revise version description
2012-05-18 14:41:00 +09:00
Yukihiro Matsumoto
8846f75ecc
refactor test driver
2012-05-18 14:29:36 +09:00
Yukihiro Matsumoto
332565e3ba
remove confusing dependency; run "make" before "make test"
2012-05-18 14:29:14 +09:00
Yukihiro Matsumoto
7fdc42355a
rename compiler.h to mruby/compiler.h
2012-05-18 14:28:33 +09:00
Yukihiro Matsumoto
e306bfaf94
failed to initialize source string
2012-05-18 14:23:40 +09:00
Yukihiro Matsumoto
685b4d1c84
fixed a typo
2012-05-18 13:32:47 +09:00
Yukihiro Matsumoto
219162117a
move compile.h to mruby/compile.h
2012-05-18 12:54:23 +09:00
Yukihiro Matsumoto
bbf7b0ceba
add extern "C" guards
2012-05-18 12:45:09 +09:00
Yukihiro Matsumoto
ec6c6df995
yywarn should use warn_buffer not error_buffer
2012-05-18 11:17:07 +09:00
Yukihiro Matsumoto
5223c0a6ac
remove mrb_parse_nstring_ext; use mrb_parser_new() then set p->capture_error = 1; then call mrb_parser_parse(); see tool/mirb/mirb.c
2012-05-18 11:07:11 +09:00
Yukihiro Matsumoto
61d8bb132e
keep toplevel local variables; close #133
2012-05-18 11:04:36 +09:00
Yukihiro Matsumoto
a18fb01b03
new API for parser
2012-05-18 11:03:43 +09:00
Paolo Bosetti
5760ad7d59
Minor edits in tests for Math module
2012-05-17 17:40:21 -07:00
Yukihiro Matsumoto
5d5d189dee
remove src/method.h
2012-05-18 02:06:09 +09:00
Yukihiro Matsumoto
74d29edf5c
remove unused method.h from kernel.c
2012-05-18 02:05:52 +09:00
Yukihiro Matsumoto
6c9ae9489f
remove unused method.h from object.c
2012-05-18 02:04:29 +09:00
Yukihiro Matsumoto
a4d3579e31
add extern "C" guards; close #126
2012-05-18 02:02:49 +09:00
Yukihiro Matsumoto
e67c03529d
Merge branch 'master' of github.com:mruby/mruby
2012-05-17 23:49:12 +09:00