summaryrefslogtreecommitdiffhomepage
path: root/tools/mirb/mirb.c
AgeCommit message (Collapse)Author
2013-04-09Fix mirb to use readlineAkito Mochizuki
2013-04-08Merge pull request #1157 from monaka/pr-add-ARGV-to-mirbYukihiro "Matz" Matsumoto
Add ARGV constant. It is not required by ISO. Compatibility with CRuby.
2013-04-08Fix a memory leak in mirbh2so5
2013-04-07Fix checking for heredoc in mirbh2so5
2013-04-07Add ARGV constant. It is not required by ISO. Compatibility with CRuby.Masaki Muranaka
2013-04-06Improve checking for unterminated string in mirbh2so5
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-27replace non formatting printf to (f)putsYukihiro "Matz" Matsumoto
2013-03-27Add simple usage message for mirbkano4
2013-03-25Fix indentation in mirb.ckano4
2013-03-17implement literal %W %w %sFUKUZAWA-Tadashi
refactor string parsing
2013-03-16Remove stdlib.h from mruby.h. It is for portability (care for freestanding ↵Masaki Muranaka
environments). This is a first step. It will be reduced stdlib.h in each files later.
2013-03-16display BasicObject information in mirbtakkaw
2013-03-12Add static declarationkano4
2013-03-03implement heredocFUKUZAWA-Tadashi
2013-02-17Fix crash when exiting mirb using ctrl-d when compiled with readlineCarson McDonald
support.
2013-01-16save/restore arena index in mirb; close #740Yukihiro Matz Matsumoto
2012-12-28use readline if it's enabled.mattn
2012-11-29Fix compile warnings in mirbshtirlic
Change last_char type to int Warnings mirb.c:174:7: warning: comparison is always false due to limited range of data type [-Wtype-limits] warning: comparison is always false due to limited range of data type [-Wtype-limits]
2012-09-05Remove some redundant memset().Masaki Muranaka
2012-09-05Reset last_code_line instead of ruby_code.Masaki Muranaka
2012-09-03mirb would terminate on quit in the continuing lineYukihiro Matsumoto
2012-08-22file/line info passed to codegen; argument type of mrb_generate_code() has ↵Yukihiro Matsumoto
changed
2012-08-17Don't exit if 'exit' or 'quit' are in quote blocksJoseph McCullough
2012-08-17'exit' and 'quit' cause exit regardless of open blockJoseph McCullough
2012-08-01should not leave open code on syntax errors; close #413Yukihiro Matsumoto
2012-07-17make mirb work even when DISABLE_STDIO is setYukihiro Matsumoto
2012-07-03add new function mrb_parser_free()Yukihiro Matsumoto
2012-07-03use mrbc_context; free parser for each iteration; close #312Yukihiro Matsumoto
2012-07-03refactor mirb codeYukihiro Matsumoto
2012-07-03add context arg to mrb_parser_parse()Yukihiro Matsumoto
2012-06-03Check mrb_open return value for NULLJon
2012-05-23Teach mirb another way to quitJon
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
2012-05-19mirb code termination policy changedYukihiro Matsumoto
2012-05-19mirb termination command renamed to quitYukihiro Matsumoto
2012-05-19unterminated string detection made easyYukihiro Matsumoto
2012-05-19should initialize p->sterm every parse timeYukihiro Matsumoto
2012-05-19even smarter expression termination detectionYukihiro Matsumoto
2012-05-19mirb should detect end of expression smarterYukihiro Matsumoto
2012-05-18move compile.h to mruby/compile.hYukihiro Matsumoto
2012-05-18keep toplevel local variables; close #133Yukihiro Matsumoto
2012-05-12avoid c++ style commentsYukihiro Matsumoto
2012-05-12breaking newline before elseYukihiro Matsumoto
2012-05-12no #include unistd.h stdbool; close #124Yukihiro Matsumoto
2012-05-12Add additional hint to the code block guesser.Daniel Bovensiepen
2012-05-12Remove more unnecessary elementsDaniel Bovensiepen
2012-05-12Remove unnecessary elementsDaniel Bovensiepen
2012-05-12mirb - Embeddable Interactive Ruby ShellDaniel Bovensiepen