- 04 Oct, 2019 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Remove unused code to old Visual Studio in `tasks/toolchains/visualcpp.rake`
-
KOBAYASHI Shuji authored
-
- 03 Oct, 2019 8 commits
-
-
Yukihiro "Matz" Matsumoto authored
Remove duplicates header files in `src/pool.c`
-
dearblue authored
These are included in `mruby.h`. As a background, if `enable_cxx_abi` is specified, the macro that defines the maximum value in `stdint.h` is undefined depending on the environment. - Confirmed with gcc on FreeBSD 12.0 and mingw32-gcc available on FreeBSD. - `INTPTR_MAX`, `INT64_MAX` and `UINT64_MAX` are defined by `cstdint` added in C++11. But `toolchains :gcc` adds `-std=c++03`, so the macros are not defined. - To have these defined in `C++03`, `__STDC_CONSTANT_MACROS` must be defined in advance. This is already done by `mruby.h`.
-
Yukihiro "Matz" Matsumoto authored
Add tests for #4746
-
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
-