- 18 Mar, 2017 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 17 Mar, 2017 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
The change may reduce flexibility, but I believe no one wants that level of flexibility here.
-
Yukihiro "Matz" Matsumoto authored
MiniRake::Task#timestamp should use Time.now only
-
Yukihiro "Matz" Matsumoto authored
-
ksss authored
-
- 16 Mar, 2017 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
Some update for `String#each_line`
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 15 Mar, 2017 4 commits
-
-
ksss authored
-
ksss authored
-
ksss authored
-
Yukihiro "Matz" Matsumoto authored
-
- 14 Mar, 2017 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
Fix out-of-bound access
-
- 13 Mar, 2017 3 commits
-
-
Nobuyoshi Nakada authored
Get rid of out-of-bound access when single % at the end.
-
Yukihiro "Matz" Matsumoto authored
The argv for `mrb_yield_with_class()` should not be on mruby stack. Note the result from `mrb_get_args("*")` is on the stack.
-
Yukihiro "Matz" Matsumoto authored
-
- 11 Mar, 2017 11 commits
-
-
Yukihiro "Matz" Matsumoto authored
The old OP_RESCUE took one operand A, which specifies a class to match with the exception. The new OP_RESCUE takes tree operands: A: the register to hold exception B: the matching exception; the match result will be stored here. C: the continuation; if C is zero, the exception will be stored to R(A) otherwise, the value from R(A) is used as a exception. Thus, ```ruby begin raise "a" rescue TypeError p 1 rescue RuntimeError p 2 end ``` will be compiled as ``` irep 0x557a06667aa0 nregs=4 nlocals=1 pools=1 syms=4 reps=0 file: /tmp/e.rb 2 000 OP_ONERR 005 2 001 OP_LOADSELF R1 2 002 OP_STRING R2 L(0) ; "a" 2 003 OP_SEND R1 :raise 1 2 004 OP_JMP 022 3 005 OP_GETCONST R2 :TypeError 3 006 OP_RESCUE R1 R2 3 007 OP_JMPIF R2 009 3 008 OP_JMP 013 4 009 OP_LOADSELF R1 4 010 OP_LOADI R2 1 4 011 OP_SEND R1 :p 1 4 012 OP_JMP 023 5 013 OP_GETCONST R2 :RuntimeError 5 014 OP_RESCUE R1 R2 cont 5 015 OP_JMPIF R2 017 5 016 OP_JMP 021 6 017 OP_LOADSELF R1 6 018 OP_LOADI R2 2 6 019 OP_SEND R1 :p 1 6 020 OP_JMP 023 6 021 OP_RAISE R1 6 022 OP_POPERR 1 6 023 OP_STOP ``` The new VM can accept old OP_RESCUE. The mruby compatible VM (namely mruby/c) should be updated to support the new OP_RESCUE behavior.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Also fix #3499. The issue was solved by #3462.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Avoid infinity loop when empty string pattern
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
\1 sequences as empty strings
-
- 10 Mar, 2017 7 commits
-
-
ksss authored
-
ksss authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Terminate loop if the value is longer than the last otherwise.
-
Yukihiro "Matz" Matsumoto authored
-
- 07 Mar, 2017 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-
- 05 Mar, 2017 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Check modifiable for String `bang' methods
-
Yukihiro "Matz" Matsumoto authored
-