summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-compiler
AgeCommit message (Collapse)Author
2016-03-30reduce OP_ARRAY in argument splatYukihiro "Matz" Matsumoto
2016-03-24better code generation for `||=`; #3138Yukihiro "Matz" Matsumoto
2016-03-24`||=` with cvars and constants should work with false values; #3138Yukihiro "Matz" Matsumoto
2016-03-23`||=` reference error can happen with constants as well; #3138Yukihiro "Matz" Matsumoto
2016-03-23add safe-navigation (aka lonely) operator `&.`Yukihiro "Matz" Matsumoto
2016-03-22fixed silly class variable/constant confusion; #3138Yukihiro "Matz" Matsumoto
2016-03-21rescue NameError from class variable access like `@@foo ||= 42`; fix #3138Yukihiro "Matz" Matsumoto
2016-03-07fix dump_prefix() with wrong type argument; fix #3128Yukihiro "Matz" Matsumoto
2016-02-22too many register push for else-less condtions; fix #3117Yukihiro "Matz" Matsumoto
2016-02-17peephole optimization for LOADNIL before STRCAT; ref #3110Yukihiro "Matz" Matsumoto
2016-02-17push value for NULL AST when value is required; fix #3110Yukihiro "Matz" Matsumoto
2016-02-16syntax error in interpolated symbol; fixed #3108Yukihiro "Matz" Matsumoto
2016-01-31Fix a typoHAYASHI Kentaro
su ported -> supported ^
2016-01-07change mrb_run related API names; compatibility macros providedYukihiro "Matz" Matsumoto
2015-12-25rename include blockerYasuhiro Matsumoto
2015-12-21in `peekc_n`, adjust column number after calling `nextc`Kazuho Oku
2015-12-01C++ compiler does not like cast from pointer to enum; ref #3039Yukihiro "Matz" Matsumoto
2015-12-01should ignore block to next, break, etc. fix #3039Yukihiro "Matz" Matsumoto
2015-11-27include changed from by quotes ("") to by brackets (<>); close #3032Yukihiro "Matz" Matsumoto
2015-11-23Fix MRB_DISABLE_STDIO typo.Simon Génier
2015-11-19Fix typo on MRB_DISABLE_STDIO.Simon Génier
2015-11-17DISABLE_STDIO/ENABLE_DEBUG macros to rename; close #3014Yukihiro "Matz" Matsumoto
changes: * rename DISABLE_STDIO -> MRB_DISABLE_STDIO * rename ENABLE_DEBUG -> MRB_ENABLE_DEBUG_HOOK * no more opposite macro definitions (e.g. ENABLE_STDIO, DISABLE_DEBUG). * rewrite above macro references throughout the code. * update documents
2015-10-21fixed SEGV in mrb_parser_dump(NODE_COLON3)Yukihiro "Matz" Matsumoto
2015-10-01optimize if statement with constant conditionYukihiro "Matz" Matsumoto
2015-10-01Merge pull request #2961 from takahashim/regex_encYukihiro "Matz" Matsumoto
support Regexp literal option: //n and //u
2015-09-30fix tests on windows.Yasuhiro Matsumoto
'bin/mruby' not work on windows. so correct command name and quoted arguments.
2015-09-26support Regexp literal option: //n and //utakahashim
2015-08-11compiler: allow "class A end" by tweaking the superclass rule like CRuby2.3Yukihiro "Matz" Matsumoto
2015-08-10codegen: don't need to genop(); just update s->iseq directlyYukihiro "Matz" Matsumoto
2015-08-10codegen: add peep hole optimization to skip overridden OP_MOVEYukihiro "Matz" Matsumoto
2015-08-10codegen: reserve stack region for OP_APOST; fix #2824Yukihiro "Matz" Matsumoto
2015-07-29pop cmdarg in lambda body; fix [ruby-bug#11380]cremno
regression introduced by 2fe556d9c039839c20965a2c90dff703f04e40ec
2015-07-03Merge pull request #2874 from cremno/fix-parser-oob-writeYukihiro "Matz" Matsumoto
Coverity: fix oob write by actually truncating buffer
2015-07-03fix oob write by actually truncating buffercremno
Found by Coverity scan of polyfox-moon: CID 121927 (#1 of 1): Out-of-bounds write (OVERRUN)
2015-07-02add missing fall through commentscremno
2015-06-28Fix segfault found using afl-fuzzJurriaan Pruis
2015-06-24Remove unnecessary backticks.Franck Verrot
Dr Markus Kuhn published in 1999 an article [1] explaining in details why we shouldn't use the ASCII grave accent (0x60) as a left quotation. Backticks have been used most notably to produce nice-looking LaTeX documents but it doesn't seem to be an issue on modern platforms and for the oldest ones, there are workarounds as mentioned by Dr Kuhn. [1]: https://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html
2015-06-02push only after OP_GETCONST in VAL mode; ref #2769cremno
2015-06-01update lex.def using gperf 3.0.4Yukihiro "Matz" Matsumoto
2015-06-01Compile mruby compiler as mrbgem.take_cheeze
Compiler codes is moved to "mruby-compiler". Executable `mrbc` is moved to "mruby-bin-mrbc".