Yukihiro Matsumoto
6ea5c6b517
make mirb work even when DISABLE_STDIO is set
2012-07-17 23:46:48 +09:00
Yukihiro Matsumoto
fc27f71289
add new function mrb_parser_free()
2012-07-03 21:52:11 +09:00
Yukihiro Matsumoto
a1af20baa9
use mrbc_context; free parser for each iteration; close #312
2012-07-03 21:49:06 +09:00
Yukihiro Matsumoto
a7b8a94e48
refactor mirb code
2012-07-03 21:29:46 +09:00
Yukihiro Matsumoto
39689441e7
add context arg to mrb_parser_parse()
2012-07-03 21:13:10 +09:00
Daniel Bovensiepen
83e5999d7e
Make CFLAG choices in Makefiles more flexible
2012-06-18 11:22:05 +08:00
Jon
2fff59dc86
Check mrb_open return value for NULL
2012-06-03 11:11:35 -04:00
Jon
105c11b7f6
Clean and DRY up the basic Makefiles
2012-05-23 13:19:40 -04:00
Jon
44f2c59a61
Teach mirb another way to quit
2012-05-23 12:17:42 -04:00
Yukihiro "Matz" Matsumoto
9a64598121
Merge pull request #180 from mitchblank/master
...
call mrb_close() in tools and test programs
2012-05-22 11:01:29 -07:00
Jon
9f89da6eef
Add native and cross compiling CMake build support
2012-05-22 10:50:28 -04:00
Mitchell Blank Jr
d1cd10421f
change example code to do mrb_close()
...
I was hoping this would cause valgrind to complain less, but there is still
a lot of memory leaked (does mrb_close() actually free all of the managed
blocks?) Anyway this helps somewhat and is good practice
2012-05-22 01:03:54 -07: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
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
219162117a
move compile.h to mruby/compile.h
2012-05-18 12:54:23 +09:00
Yukihiro Matsumoto
61d8bb132e
keep toplevel local variables; close #133
2012-05-18 11:04:36 +09:00
Yukihiro Matsumoto
1bc0c12096
Makefile: remove echo action from all target
2012-05-15 16:40:45 +09:00
Yukihiro Matsumoto
69c1b9b797
avoid c++ style comments
2012-05-12 23:47:09 +09:00
Yukihiro Matsumoto
2dcc0ab656
breaking newline before else
2012-05-12 23:44:31 +09:00
Yukihiro Matsumoto
260f41ed63
no #include unistd.h stdbool; close #124
2012-05-12 23:43:09 +09:00
Daniel Bovensiepen
b3467ef4af
Add additional hint to the code block guesser.
2012-05-12 00:59:18 +08:00
Daniel Bovensiepen
438042ffce
Remove more unnecessary elements
2012-05-12 00:41:33 +08:00
Daniel Bovensiepen
ab378085de
Remove unnecessary elements
2012-05-12 00:38:58 +08:00
Daniel Bovensiepen
917d70e31b
mirb - Embeddable Interactive Ruby Shell
2012-05-12 00:27:45 +08:00