-
Notifications
You must be signed in to change notification settings - Fork 2
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
Error recovery is missing #4
Comments
Yes, I'm not intending to implement this feature. Also if you try to use a huge grammar with parsertl generally it will likely struggle. Ideally I would use bison style table compression (making sure to dodge the GPL mind you), but getting this far was enough of a struggle I have to admit! |
And what about
|
Here is the postgresql-16 naked grammar: |
It seems that even
|
That actually looks really interesting. |
I have a fork here https://github.com/mingodad/lalr-parser-test with some cosmetic changes. |
There is also this https://github.com/phorward/unicc/tree/main/min_lalr1 |
After seeing Charles Baker's description of supporting "error", I might have a look at this at some point. |
That would be a nice addition ! |
While converting some grammars I noticed that the
error
for error recovering is not implemented.Example grammar using error recovery that works with bison:
The text was updated successfully, but these errors were encountered: