Skip to content

Update mruby-compiler's vendoring source - #5

Merged
udzura merged 2 commits into
mrubyedge:masterfrom
bash0C7:rite0400-vendor
Sep 13, 2026
Merged

udzura merged 2 commits into
mrubyedge:masterfrom
bash0C7:rite0400-vendor

Conversation

@udzura

@udzura udzura commented Sep 13, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

bash0C7 and others added 2 commits September 10, 2026 11:07
Copied picoruby/mruby-compiler2 6d88acf (lib/prism c0e3781, generated with
templates/template.rb) over vendor/mruby-compiler2, so the compiler emits
RITE0400 instead of RITE0300.

The new mrc_common.h falls back to <mrbconf.h> unless the target macros are
set, so bindgen needs the same defines and include path cc already gets.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FfoC7uMVr3d3VaxWFnaPFT
mruby 4.0 accepts `&nil` in formal parameters to refuse a block (NEWS 4.0.0,
b07518e) and codegen.c sets bit 23 of the ENTER operand for it. Prism has no
such syntax, so the parser now takes `nil` after `&` and marks the block
parameter, and codegen turns that mark into MRC_ARGS_NOBLOCK(). mrc_irep.h
already reads the bit as MRC_ASPEC_NOBLOCK.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FfoC7uMVr3d3VaxWFnaPFT
@udzura

udzura commented Sep 13, 2026

Copy link
Copy Markdown
Collaborator Author

@bash0C7 Thanks!

@udzura
udzura merged commit a332696 into mrubyedge:master Sep 13, 2026
1 check passed
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