- 03 Nov, 2013 1 commit
-
-
fleuria authored
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.
-
- 02 Nov, 2013 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
Added shuffle and shuffle! to the Array class in the Random gem.
-
- 01 Nov, 2013 2 commits
-
-
Emiliano Lesende authored
-
Yukihiro "Matz" Matsumoto authored
-
- 31 Oct, 2013 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
fix 3a4c8e2d
-
- 30 Oct, 2013 9 commits
-
-
fleuria authored
unfortunately the previouse commit is incorrect, which still concate the keywords, but like this: method='"end\nb"' (201)
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
fix #1550
-
Yukihiro "Matz" Matsumoto authored
fixed compilation on freebsd releases witout log2 function
-
Yukihiro "Matz" Matsumoto authored
-
h2so5 authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
fleuria authored
emit a "\n" as the first token for parser instead of taking the first character from the next file for lexer, to prevent mruby "concatenate" two keywords between files it should be regarded as a work around, for it can not resolve this case: $ cat a.rb " $ cat b.rb b" $ bin/mrbc -o- -v a.rb b.rb mruby - Embeddable Ruby Copyright (c) 2010-2013 mruby developers NODE_SCOPE: NODE_BEGIN: NODE_STR " b " len 4 irep 0 nregs=2 nlocals=1 pools=1 syms=0 000 OP_STRING R1 "\n\nb " 001 OP_STOP thanks @bovi 's idea
-
- 26 Oct, 2013 4 commits
-
-
h2so5 authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Disable implicit integer conversion in mrb_get_args
-
- 25 Oct, 2013 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-
- 24 Oct, 2013 3 commits
-
-
fleuria authored
-
fleuria authored
We have already reserved that register in codegen()'s case NODE_DEF, but what we care about is actually the previous register. So what we need is get that register by cursp() after pop(), then recover the reservation by push().
-
Yukihiro "Matz" Matsumoto authored
fix #1542
-
- 23 Oct, 2013 2 commits
-
-
fleuria authored
-
Yukihiro "Matz" Matsumoto authored
-
- 22 Oct, 2013 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 20 Oct, 2013 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-
- 19 Oct, 2013 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-
- 15 Oct, 2013 5 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Set regs to stack on return of const_get calls before use
-
Carson McDonald authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 10 Oct, 2013 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
Add some methods to Symbol
-
Yukihiro "Matz" Matsumoto authored
remove unused value for mrb_gv_remove
-
Yukihiro "Matz" Matsumoto authored
-
- 09 Oct, 2013 1 commit
-
-
MATSUMOTO Ryosuke authored
-