- 03 Oct, 2019 5 commits
-
-
KOBAYASHI Shuji authored
-
Yukihiro "Matz" Matsumoto authored
Fix opcode semantics comment miss.
-
Hirohito Higashi authored
-
Hirohito Higashi authored
-
Yukihiro "Matz" Matsumoto authored
-
- 02 Oct, 2019 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
For example, local variables in the following def: ```ruby def foo(a = (not_set = true), &block) ... end ``` should be `a, block, not_set`, but were `a, not_set, block`.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Avoid `symhash()` call for inline symbol in `sym_intern()`
-
KOBAYASHI Shuji authored
-
- 01 Oct, 2019 6 commits
-
-
Yukihiro "Matz" Matsumoto authored
Escape the AST string
-
Yukihiro "Matz" Matsumoto authored
Dump more node types in `mrb_parser_dump`
-
KOBAYASHI Shuji authored
#### Before this patch: ```terminal $ bin/mruby -v -e '%w[1 2]' mruby 2.0.1 (2019-04-04) 00001 NODE_SCOPE: 00001 NODE_BEGIN: 00001 NODE_WORDS: 00001 NODE_STR "1" len 1 00001 node type: 85 (0x55) 00001 NODE_STR "2" len 1 (snip) ``` #### After this patch: ```terminal $ bin/mruby -v -e '%w[1 2]' mruby 2.0.1 (2019-04-04) 00001 NODE_SCOPE: 00001 NODE_BEGIN: 00001 NODE_WORDS: 00001 NODE_STR "1" len 1 00001 NODE_LITERAL_DELIM 00001 NODE_STR "2" len 1 (snip) ```
-
KOBAYASHI Shuji authored
#### Before this patch: ```terminal $ bin/mruby -v -e '%i[1]; %I[#{2}]' mruby 2.0.1 (2019-04-04) 00001 NODE_SCOPE: 00001 NODE_BEGIN: 00001 node type: 87 (0x57) 00001 node type: 87 (0x57) (snip) ``` #### After this patch: ```terminal $ bin/mruby -v -e '%i[1]; %I[#{2}]' mruby 2.0.1 (2019-04-04) 00001 NODE_SCOPE: 00001 NODE_BEGIN: 00001 NODE_SYMBOLS: 00001 NODE_STR "1" len 1 00001 NODE_SYMBOLS: 00001 NODE_STR "" len 0 00001 NODE_BEGIN: 00001 NODE_INT 2 base 10 00001 NODE_STR "" len 0 (snip) ```
-
KOBAYASHI Shuji authored
#### Before this patch: ```terminal $ bin/mruby -v -e '%w[1]; %W[#{2}]' mruby 2.0.1 (2019-04-04) 00001 NODE_SCOPE: 00001 NODE_BEGIN: 00001 node type: 86 (0x56) 00001 node type: 86 (0x56) (snip) ``` #### After this patch: ```terminal $ bin/mruby -v -e '%w[1]; %W[#{2}]' mruby 2.0.1 (2019-04-04) 00001 NODE_SCOPE: 00001 NODE_BEGIN: 00001 NODE_WORDS: 00001 NODE_STR "1" len 1 00001 NODE_WORDS: 00001 NODE_STR "" len 0 00001 NODE_BEGIN: 00001 NODE_INT 2 base 10 00001 NODE_STR "" len 0 (snip) ```
-
Yukihiro "Matz" Matsumoto authored
Remove a trailing space in `MRUBY_DESCRIPTION`
-
- 30 Sep, 2019 2 commits
-
-
KOBAYASHI Shuji authored
-
KOBAYASHI Shuji authored
#### Before this patch: ```terminal $ bin/mruby -v -e ':"#{1}"; ["#{2}": 0]' mruby 2.0.1 (2019-04-04) 00001 NODE_SCOPE: 00001 NODE_BEGIN: 00001 node type: 83 (0x53) 00001 NODE_ARRAY: 00001 NODE_KW_HASH: 00001 key: 00001 node type: 83 (0x53) 00001 value: 00001 NODE_INT 0 base 10 (snip) ``` #### After this patch: ```terminal $ bin/mruby -v -e ':"#{1}"; ["#{2}": 0]' mruby 2.0.1 (2019-04-04) 00001 NODE_SCOPE: 00001 NODE_BEGIN: 00001 NODE_DSYM: 00001 NODE_DSTR: 00001 NODE_STR "" len 0 00001 NODE_BEGIN: 00001 NODE_INT 1 base 10 00001 NODE_STR "" len 0 00001 NODE_ARRAY: 00001 NODE_KW_HASH: 00001 key: 00001 NODE_DSYM: 00001 NODE_DSTR: 00001 NODE_STR "" len 0 00001 NODE_BEGIN: 00001 NODE_INT 2 base 10 00001 NODE_STR "" len 0 00001 value: 00001 NODE_INT 0 base 10 (snip) ```
-
- 29 Sep, 2019 16 commits
-
-
Yukihiro "Matz" Matsumoto authored
Remove unnecessary type `mrb_hash_value`
-
Yukihiro "Matz" Matsumoto authored
Print missing `:` before newline in `mrb_parser_dump`
-
KOBAYASHI Shuji authored
-
Yukihiro "Matz" Matsumoto authored
Allow rethrowing `MRB_TT_BREAK`
-
dearblue authored
-
Yukihiro "Matz" Matsumoto authored
Restore GC arena frequently
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Remove unnecessary assignments
-
dearblue authored
-
Yukihiro "Matz" Matsumoto authored
Add an annotation about the return value
-
Yukihiro "Matz" Matsumoto authored
The return value from `mrb_delete_key` needs to be protected from GC in some cases.
-
dearblue authored
-
Yukihiro "Matz" Matsumoto authored
Remove unused node type in `codegen()`
-
dearblue authored
-
dearblue authored
-
- 28 Sep, 2019 1 commit
-
-
KOBAYASHI Shuji authored
-
- 27 Sep, 2019 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
Simplify arguments check in `String#rindex`
-
Yukihiro "Matz" Matsumoto authored
-
KOBAYASHI Shuji authored
Also fix document about type of the first argument.
-
- 26 Sep, 2019 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
Use type predicate macros instead of `mrb_type` if possible
-
Yukihiro "Matz" Matsumoto authored
-
KOBAYASHI Shuji authored
For efficiency with `MRB_WORD_BOXING` (implement type predicate macros for all `enum mrb_vtype`).
-