-
Notifications
You must be signed in to change notification settings - Fork 9
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
Fallback #3
Comments
I'm using this method for my fork for MySQL grammar support. Is this what you're going for?
|
For me, only the parser can choose to fallback properly. Or you have to tweak your grammar like you suggest or me or here. And I do not feel able to add fallback to lalrpop. I don't even know if it is feasible. |
Do you mind giving me an example of a conflict for SQLite? There's a lot of underdocumented features in lalrpop so maybe I can hack together a workaround. I have to admit the codebase for lalrpop is hard to grok for me (lot of concepts that are frankly outside my comfort zone and I'm very new to rust). I'd love to use your Lemon implementation instead of lalrpop if you're still working on it (there are modified sqlite lemon grammars for MySQL in the wild already so that'd save me a lot of time) and speed is definitely a concern for my use-case. If you think that's the best route compared to lalrpop I'd be happy to contribute what I can to lemon-rs |
You just have to uncomment the lines here and you will have conflicts. And I suggest you keep using lalrpop because I don't want to waste your time. |
lalrpop
The text was updated successfully, but these errors were encountered: