- 28 Dec, 2021 1 commit
-
-
- 27 Dec, 2021 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 25 Dec, 2021 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Fix summary typo for `mrbgems/mruby-compar-ext`
-
dearblue authored
-
- 23 Dec, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-
- 22 Dec, 2021 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Allow void expression on some places e.g. right hand of `rescue` modifier. In addition, checks added on some places, e.g. left hand of logical operators.
-
- 21 Dec, 2021 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
build(deps): bump github/super-linter from 4.8.4 to 4.8.5
-
dependabot[bot] authored
Bumps [github/super-linter](https://github.com/github/super-linter) from 4.8.4 to 4.8.5. - [Release notes](https://github.com/github/super-linter/releases) - [Changelog](https://github.com/github/super-linter/blob/main/docs/release-process.md) - [Commits](https://github.com/github/super-linter/compare/v4.8.4...v4.8.5) --- updated-dependencies: - dependency-name: github/super-linter dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
-
- 20 Dec, 2021 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
Note that the current implantation only calls `[]=` method. No performance improvement. Just 2 bytes less byte code per assignment.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 19 Dec, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
Add `bin/mrbc --no-ext-ops` switch
-
- 18 Dec, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
Print error before cleanup in `codegen_error()`
-
- 17 Dec, 2021 2 commits
-
-
dearblue authored
Previously, it always pointed to the highest scope as the location of the error. - example code `code.rb` ```ruby huge_num = "1" + "0" * 300; eval <<CODE, nil, "test.rb", 1 class Object module A #{huge_num} end end CODE ``` - Before this patch ```console % bin/mruby code.rb test.rb:1: integer too big trace (most recent call last): [1] code.rb:1 code.rb:1:in eval: codegen error (ScriptError) ``` - After this patch ```console % bin/mruby code.rb test.rb:3: integer too big trace (most recent call last): [1] code.rb:1 code.rb:1:in eval: codegen error (ScriptError) ```
-
dearblue authored
Print an error if `OP_EXT[123]` is needed when generating mruby binary. This may be useful for mruby/c. Inspired by #5590.
-
- 16 Dec, 2021 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
build(deps): bump actions/upload-artifact from 2.2.4 to 2.3.1
-
dependabot[bot] authored
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2.2.4 to 2.3.1. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2.2.4...v2.3.1) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
-
Yukihiro "Matz" Matsumoto authored
-
- 15 Dec, 2021 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Ref #5597
-
Yukihiro "Matz" Matsumoto authored
Avoid losing the upper digits for mruby binary
-
- 14 Dec, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
The function may invoke the garbage collection and it requires `mrb_state` to run.
-
- 13 Dec, 2021 7 commits
-
-
dearblue authored
- `rlen` keeps 16 bits. - `ilen` keeps 32 bits. Note that this change will break mruby binary format compatibility.
-
Yukihiro "Matz" Matsumoto authored
With some refactoring. * `ret` argument is always non-nil, so no check needed. * move allocation check right after malloc(). * simplify conditions.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
The existence of this member reduces memory and execution time.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Add `Array#{repeated_combination,repeated_permutation}` methods
-
- 12 Dec, 2021 1 commit
-
-
dearblue authored
Ruby 1.9.2 feature. ref: https://docs.ruby-lang.org/ja/3.1.0/method/Array/i/repeated_combination.html ref: https://docs.ruby-lang.org/ja/3.1.0/method/Array/i/repeated_permutation.html
-
- 09 Dec, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
fix #5593
-
- 08 Dec, 2021 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
It used to return wrong value for 14 positional arguments.
-
Yukihiro "Matz" Matsumoto authored
-
- 07 Dec, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-
- 06 Dec, 2021 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Now `iv_get()` returns `pos+1` if it finds the entry, so you don't need to call `iv_put()`. You can replace the entry value by assigning to `t->ptr[pos-1]`.
-
Yukihiro "Matz" Matsumoto authored
Class variables are slower than instance variables of classes.
-