Skip to content

Add PicoRuby 3.4.2 with new build function for r2p2#2614

Open
hasumikin wants to merge 1 commit intorbenv:masterfrom
hasumikin:picoruby-3.4.2
Open

Add PicoRuby 3.4.2 with new build function for r2p2#2614
hasumikin wants to merge 1 commit intorbenv:masterfrom
hasumikin:picoruby-3.4.2

Conversation

@hasumikin
Copy link
Copy Markdown
Contributor

This commit adds PicoRuby 3.4.2 and introduces a new build function to accommodate changes in the build artifacts.

Version numbering context:
PicoRuby's version numbers are aligned with mruby's VM code specification compatibility. Version 3.4 indicates compatibility with mruby 3.4 VM code format, or RITE0300. Version 3.4.2 indicates minor bug fix in PicoRuby.

Build artifact changes:
Starting from version 3.4.2, PicoRuby has replaced the irb executable with r2p2 (POSIX version of PicoRuby shell system including IRB). The new build produces three executables:

  • picoruby: main Ruby interpreter
  • picorbc: Ruby bytecode compiler
  • r2p2: interactive REPL (replaces picoirb)

Implementation:

  • Added build_package_picoruby_r2p2() function for version 3.4.2+
  • Existing build_package_picoruby() remains for version 3.0.0
  • The new function creates only the 'ruby' symlink, omitting 'irb'
  • Added picoruby-3.4.2 definition file

The split in build functions allows proper support for both the legacy 3.0.0 release with irb and newer releases with r2p2.

This commit adds PicoRuby 3.4.2 and introduces a new build function to accommodate changes in the build artifacts.

Version numbering context:
PicoRuby's version numbers are aligned with mruby's VM code specification compatibility.
Version 3.4 indicates compatibility with mruby 3.4 VM code format, or RITE0300.
Version 3.4.2 indicates minor bug fix in PicoRuby.

Build artifact changes:
Starting from version 3.4.2, PicoRuby has replaced the irb executable with r2p2 (POSIX version of PicoRuby shell system including IRB).
The new build produces three executables:
- picoruby: main Ruby interpreter
- picorbc: Ruby bytecode compiler
- r2p2: interactive REPL (replaces picoirb)

Implementation:
- Added build_package_picoruby_r2p2() function for version 3.4.2+
- Existing build_package_picoruby() remains for version 3.0.0
- The new function creates only the 'ruby' symlink, omitting 'irb'
- Added picoruby-3.4.2 definition file

The split in build functions allows proper support for both the legacy
3.0.0 release with irb and newer releases with r2p2.
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