Skip to content

Support mruby 4.0 bytecodes (preview) - #89

Merged
udzura merged 6 commits into
masterfrom
codex/rite0400
Sep 13, 2026
Merged

udzura merged 6 commits into
masterfrom
codex/rite0400

Conversation

@udzura

@udzura udzura commented Sep 13, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

bash0C7 and others added 3 commits September 13, 2026 14:57
mruby 4.0 widened ENTER's operand to 24 bits and put MRB_ASPEC_NOBLOCK in
the new top bit, which the compiler sets for def m(&nil). vm.c raises
ArgumentError "no block accepted" when a block arrives anyway.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FfoC7uMVr3d3VaxWFnaPFT
examples/hi.mrb and examples/simple.mrb are both RITE0300, so rite::load
refuses them now. Nothing but the docs read them, their names do not match
their contents, and their sources are not in the tree.

The doc example and the README read a path instead of bundling a blob, and
the IREP example drops no_run so cargo test --doc runs it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FfoC7uMVr3d3VaxWFnaPFT
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FfoC7uMVr3d3VaxWFnaPFT
udzura and others added 3 commits September 13, 2026 15:02
Compile and execute a minimal Ruby script in the crate docs.

Co-authored-by: Codex <codex@openai.com>
Group bytecode tests by opcode family while retaining the whole-chunk test.

Co-authored-by: Codex <codex@openai.com>
@udzura
udzura merged commit e877d79 into master Sep 13, 2026
5 checks passed
@udzura
udzura deleted the codex/rite0400 branch September 13, 2026 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant