Yukihiro Matsumoto
5938956171
mrbc: better cleanup before exit
2012-07-14 07:39:50 +09:00
Yukihiro Matsumoto
e380692224
mrb_load_xxx to return undef + mrb_undef_p
2012-07-14 07:38:43 +09:00
Yukihiro Matsumoto
8e1c842b7e
simpify mruby/mrbc using context
2012-07-13 15:36:43 +09:00
Yukihiro Matsumoto
bbec03bb7a
add missing (empty) default for swtch; close #364
2012-07-13 14:35:18 +09:00
Yukihiro Matsumoto
85a0cad905
use new function mrb_parser_free()
2012-07-03 21:54:08 +09:00
Yukihiro Matsumoto
65096c4c1b
add context to parser, that would hold local variable info, filename, and line number. mrbc_context argument has been added to mrb_parse_xxx() functions. Normally, you just to need to add NULL (or 0) to the last argument of the above functions.
2012-07-03 20:59:07 +09:00
Jon
2fff59dc86
Check mrb_open return value for NULL
2012-06-03 11:11:35 -04:00
Jon
3be28e0b73
Remove unnecessary mrb_init_ext definition
2012-05-27 14:44:13 -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
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
fb60a2191a
revise version description
2012-05-18 14:41:00 +09:00
Yukihiro Matsumoto
219162117a
move compile.h to mruby/compile.h
2012-05-18 12:54:23 +09:00
Yukihiro Matsumoto
a18fb01b03
new API for parser
2012-05-18 11:03:43 +09:00
Yukihiro Matsumoto
434ed1ed7c
compile error should contain line number
2012-05-17 23:46:55 +09:00
Yukihiro Matsumoto
98953cdb8f
include string.h instead of memory.h; close #108
2012-05-08 11:55:16 +09:00
Yukihiro Matsumoto
8b367098ac
move header files {irep,dump,cdump,ritehash}.h to /include/mruby
2012-04-24 17:41:28 +09:00
mimaki
e0d6430f63
add mruby sources
2012-04-20 09:39:03 +09:00