- 06 Nov, 2013 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
removing irep array from mrb_state. note that instructions OP_LAMBDA, OP_EXEC and OP_EPUSH are incompatible, and dumped mrb format has changed.
-
- 04 Nov, 2013 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
mrbc: add line break for -c option, like other options
-
- 03 Nov, 2013 4 commits
-
-
fleuria authored
-
fleuria authored
-
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.
-
takahashim authored
-
- 02 Nov, 2013 8 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Added support for Random as an argument to shuffle and shuffle!
-
Emiliano Lesende authored
Added support for Random as an argument to shuffle and shuffle!. Refactored random gem to use DATA instance type and hold mt_state inside the DATA_PTR instead of in an instance variable.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
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 2 commits