-
Notifications
You must be signed in to change notification settings - Fork 662
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
Grammar railroad diagram #1359
Comments
Also it seems that there is an error in
|
That would be really really interesting to see. You are more than welcome to see if you can sort out the errors. They have been there since 2014 and we dont know how to solve it. I am actually surprised that it can build when I look at how many errors Jison is spitting out when we run it. Any inputs are more than welcome. |
Any news on this? |
I've been looking at https://cgsql.dev/ they have a good grammar and probably compile it to webassemby would be a killer. |
@mingodad Any progress on this? |
I have done a wasm build of I'm also trying a different parser with online playground here https://meimporta.eu/lalr-playground/ and here is the repository for it https://github.com/mingodad/lalr/tree/playground . |
With a tool I made to parse jison grammars an convert then to a kind of EBNF (with a bit of manual fixes) understood by https://www.bottlecaps.de/rr/ui , we can see a railroad diagram for the grammar in
https://github.com/agershun/alasql/blob/develop/src/alasqlparser.jison
, copy and paste the EBNF shown bellow on https://www.bottlecaps.de/rr/ui in the tab Edit Grammar then switching to the tab View Diagram.The text was updated successfully, but these errors were encountered: