summaryrefslogtreecommitdiffhomepage
path: root/tools/mrbc/mrbc.c
AgeCommit message (Collapse)Author
2013-11-19parser_dump() is not used in mrbc; close #1561Yukihiro "Matz" Matsumoto
2013-11-13load_exec() no longer return fixnum value for no_exec; should close #1569Yukihiro "Matz" Matsumoto
2013-11-13fclose input fileYukihiro "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-03mrbc: add line break for -c optiontakahashim
2013-09-02support multiple filename in ireptake_cheeze
2013-08-07don't use str{cpy,cat} in mruby and mrbcCremno
The length of each string is known. It should be used.
2013-08-02add mrbc -h optionmurase_syuka
2013-05-18mrbc: use binary mode on outfileLuis Lavena
This solves the problem of incorrect bytecode generated by mrbc for single files on Windows platform (which is by default text-mode)
2013-05-16Merge branch 'master' of github.com:mruby/mrubyYukihiro "Matz" Matsumoto
2013-05-15Fix compiler warning by exiting if wfp isn't setCarson McDonald
2013-05-15avoid unnecessary copy of context->filenameYukihiro "Matz" Matsumoto
2013-05-14mrbc to take multiple files, preserving debug information if -g given; close ↵Yukihiro "Matz" Matsumoto
#1243
2013-04-20put spaces after if/whileYukihiro "Matz" Matsumoto
2013-04-17Fix typo.Carson McDonald
2013-04-17Minor code format changes.Carson McDonald
2013-04-10Replace malloc with mrb_malloc in mrbch2so5
2013-04-09Merge pull request #1163 from h2so5/show-version-onceYukihiro "Matz" Matsumoto
Show version only once with '-v' option in mruby/mrbc
2013-04-09Add validation for C language symbol nameh2so5
2013-04-09Show version only once with '-v' option in mruby/mrbch2so5
2013-04-06parse_args should return either EXIT_SUCCESS or EXIT_FAILUREYukihiro "Matz" Matsumoto
2013-04-06use EXIT_SUCCESS and EXIT_FAILURE for exit status; close #1142Yukihiro "Matz" Matsumoto
2013-03-29Sort include files. Some redundant includes are removed.Masaki Muranaka
2013-03-27Merge pull request #1082 from masuidrive/add_debug_infoYukihiro "Matz" Matsumoto
Added debug infomation section into .mrb file
2013-03-27replace non formatting printf to (f)putsYukihiro "Matz" Matsumoto
2013-03-27Added debug infomation section into .mrb fileYuichiro MASUI
2013-03-27resolve conflict from #964Yukihiro Matz Matsumoto
2013-03-14Define type mrb_bool. It is typedef-ed to _Bool on C99, unsigned int on MSVC.Masaki Muranaka
It is safer than applying 1bit bit-fields to signed int. For forward compatibility, you should substiture only 1 or 0 for the variable typed mrb_bool.
2013-03-07mrbc: exit if outfile is specified multiple timesCremno
2013-03-08New mrb format. The detail is in https://github.com/mruby/mruby/issues/944Yuichiro MASUI
2013-01-29Removed mrbc -C option what's C function dump. and TAB to spaceYuichiro MASUI
2013-01-22Added finalizer of mrbgemsYuichiro MASUI
2012-12-08Use only DISABLE_GEMS for feature request in include/mrbconf.hDaniel Bovensiepen
2012-11-22Deactivate / Activate GEMs Flag introduced into mrbcDaniel Bovensiepen
2012-11-01Merge remote-tracking branch 'upstream/master' into mrbgemsDaniel Bovensiepen
2012-10-23prevent resource leak (outfile)Yukihiro Matsumoto
2012-10-16"mrbc -" should take input from stdin; close #489Yukihiro Matsumoto
2012-09-13make mrbc aware of the gem initDaniel Bovensiepen
2012-09-05Fix not to use memset() in structure inizialization.Masaki Muranaka
2012-08-26Set filename in mrbc.c.Masamitsu MURASE
2012-07-29Added mrbc support output to stdoutYuichiro MASUI
2012-07-14mrbc: better cleanup before exitYukihiro Matsumoto
2012-07-14mrb_load_xxx to return undef + mrb_undef_pYukihiro Matsumoto
2012-07-13simpify mruby/mrbc using contextYukihiro Matsumoto
2012-07-13add missing (empty) default for swtch; close #364Yukihiro Matsumoto
2012-07-03use new function mrb_parser_free()Yukihiro Matsumoto
2012-07-03add context to parser, that would hold local variable info, filename, and ↵Yukihiro Matsumoto
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-06-03Check mrb_open return value for NULLJon
2012-05-27Remove unnecessary mrb_init_ext definitionJon
2012-05-22change example code to do mrb_close()Mitchell Blank Jr
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