- 27 Sep, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
It used to be compiled to the static string in the compiler. But the encoding status actually depends on the runtime configuration. A new method `Kernel#__ENCODING__` is introduced to implement the feature.
-
- 26 Sep, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
Otherwise, the following code will crash: ```ruby 1.times{{}until 1; break} ```
-
- 25 Sep, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
Rename `MRB_WORDBOX_USE_HEAP_FLOAT` to `MRB_WORDBOX_NO_FLOAT_TRUNCATE'.
-
- 24 Sep, 2021 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
This reverts commit 913a0a5a. In some cases, `OP_HASHADD` operand may not be `Hash`. We should check explicitly in those cases.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
In addition, add `NODE_SYM` for always true expression.
-
- 23 Sep, 2021 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 22 Sep, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
The invocation of `initialize` hook can cause infinite recursion too easily. We stop invoking the method for safety, at the cost of less flexibility. The `initialize` methods (e.g. ones defined in `mrblib/10error.rb`) are called only from `NoMethodError.new(args..)` forms.
-
- 21 Sep, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-
- 20 Sep, 2021 9 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
`acc` meant `accumulator` but it is not an accumulator but just a register position.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 19 Sep, 2021 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
- `OP_ARYPUSH` now takes operand for the number of pushing elements - the code generator consume the stack no more than `64` for `mruby/c`
-
- 16 Sep, 2021 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
Add n elements at once. Reduces instructions for huge array initialization. In addition, `gen_value` function in `codegen.c` was refactored and clarified.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 15 Sep, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-
- 14 Sep, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
Now `width` is limited to `INT16_MIN..INT16_MAX`.
-
- 13 Sep, 2021 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
For example, `{p:}` (means `{p:p}`) and `{String:}` (`{String:String}`) should be allowed like CRuby.
-
Yukihiro "Matz" Matsumoto authored
`{x:, y:}` now is a syntax sugar of `{x: x, y: y}`. This fix also includes the update of #4815 fix.
-
- 12 Sep, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-
- 11 Sep, 2021 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 10 Sep, 2021 7 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
`acc` was used as an index of the receiver (if positive), or a flag for methods implemented in C. We replace `regs[ci->acc]` by `ci[1].stack[0]`. And renamed `acc` (originally meant accumulator position) to `cci` (means callinfo for C implemented method).
-
Yukihiro "Matz" Matsumoto authored
The pool specified by `OP_STRING` (and `OP_SYMBOL`) should represent a string, so that `IREP_TT_NFLAG` should be zero.
-
Yukihiro "Matz" Matsumoto authored
It generates a symbol by interning from the pool string.
-