Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The future of Ragel & Ruby #104

Open
ioquatix opened this issue Apr 27, 2024 · 0 comments
Open

The future of Ragel & Ruby #104

ioquatix opened this issue Apr 27, 2024 · 0 comments

Comments

@ioquatix
Copy link

Thanks for creating ragel, it's great and I use it in a Ruby template parser: https://github.com/socketry/xrb

I'd like to understand a bit more about how I move forward as a user of ragel.

I see that 7.x was released, but 6.x is still commonly used.

I'm generating both C and Ruby implementations (as a fallback for JRuby/TruffleRuby/environments that don't have a compiler).

The Ruby code could be improved but I'm not sure how to contribute back those improvements. In other words, the actual Ruby code generated by Ragel 6.x chooses some less than optimal code generation strategies.

  1. Should I start considering how to use Ragel 7 and if so, how do I generate Ruby output?
  2. Is there a way to contribute back better Ruby code generation strategies to 6.x?
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

No branches or pull requests

1 participant