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

Implement Ruby-only parser for Expressir (was: crashing nearly on every run on Ruby 3.2.2) #156

Open
ronaldtse opened this issue Jun 9, 2024 · 1 comment

Comments

@ronaldtse
Copy link
Contributor

ronaldtse commented Jun 9, 2024

We need to replace this with a Ruby-only solution.

@ronaldtse ronaldtse changed the title Expressir is crashing nearly on every run on Ruby 3.2.2 Implement Ruby-only parser for Expressir (was: crashing nearly on every run on Ruby 3.2.2) Sep 25, 2024
@ronaldtse
Copy link
Contributor Author

ronaldtse commented Sep 25, 2024

The EXPRESS grammar is located here:

The task here is to develop a parser (using the pure-Ruby Parslet gem) to parse the EXPRESS syntax, then link each EXPRESS node back to the objects provided in this library (expressir).

Then we can get rid of the "rice" interface which requires C++ compilation.

It was a terrible (i.e. very terrible) mistake to use ANTLR to generate the parser, which has caused us much agony and costs in maintaining the parser.

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