summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-bin-mruby/tools
AgeCommit message (Collapse)Author
2014-03-09Use mrb_str_new_cstr() instead of mrb_str_new() with strlen().Masaki Muranaka
2014-03-05fix mruby command returning EXIT_SUCCESS when program file can't beTatsuya Matsumoto
opened.
2014-03-05mruby command should not execute program on "syntax only option(-c)".Tatsuya Matsumoto
2014-02-26use mrb_str_new_lit instead of mrb_str_new for C string literalscubicdaiya
2014-01-31use mrb_bool, FALSE and TRUE morecremno
It doesn't matter to me if one is using FALSE/TRUE instead of 1/0 but I prefer a type (alias) which emphasizes boolean vars to int. I changed 1/0 to FALSE/TRUE anyway.
2014-01-07remove superfluous includescremno
- reduce compile time by a little bit (full-core: ~0.7s for me) - thanks to 'include-what-you-use' for some help - include Standard C header files before any other (coding style)
2013-12-01add mrb_intern_lit for creating symbol from string literaltake_cheeze
2013-11-29rename mrb_intern2() to mrb_intern(); huge API incompatibility; close #1513Yukihiro "Matz" Matsumoto
2013-11-15add new function mrb_load_irep_file_cxt() and simplifies mruby.cYukihiro "Matz" Matsumoto
2013-11-15fix irep memory leakYukihiro "Matz" Matsumoto
2013-11-07modified to use irep->reps to reference child ireps. preparation forYukihiro "Matz" Matsumoto
removing irep array from mrb_state. note that instructions OP_LAMBDA, OP_EXEC and OP_EPUSH are incompatible, and dumped mrb format has changed.
2013-11-03refactor mrb_context_run()fleuria
2013-11-03introduce mrb_context_run()fleuria
currently there are two scnenario to call mrb_run(), the first is calling a proc, in this case mrb should create a new environment, discarding all the variables except args, reciever and block. the second is calling the newly generated irep, like in mirb. in this case, the variables should be kept after mrb_run(). so we introduce mrb_context_run() to handle this seperately.
2013-08-07don't use str{cpy,cat} in mruby and mrbcCremno
The length of each string is known. It should be used.
2013-05-26mruby error messages should be directed to stderrYukihiro "Matz" Matsumoto
2013-05-13move mruby's showcallinfo into the coreYukihiro "Matz" Matsumoto
2013-04-20put spaces after if/whileYukihiro "Matz" Matsumoto
2013-04-11rename mruby,mirb gems to mruby-bin-{mruby,mirb}Yukihiro "Matz" Matsumoto