Skip to content

Release with the improved Prism::Translation::Ripper #3869

@eregon

Description

@eregon

We're using Prism::Translation::Ripper as the implementation for ::Ripper in TruffleRuby.
This seems to work fine, but currently I'm importing a commit from ruby/prism main branch.

It would be better to import a Prism release, so that e.g. gem info prism would report the right version.
Currently with that commit from main it would report itself as 1.8.0 but that's not correct since it has many extra commits.

This is not urgent and I'm more than happy to include more fixes/optimizations from @Earlopain if he plans any (do you?).

@kddnewton On a slightly related note I wonder if you'd be interested to avoid so many copies of the version number across the codebase.
I recall #1295 but that didn't work when imported in CRuby.
I could do a safer variant that just share the version for files generated by template.rb if you're interested.
It's probably not a big deal though looking at https://github.com/ruby/prism/blob/main/docs/releasing.md#preparation.

Related: #3838

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions