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

Grammar railroad diagram #46

Open
mingodad opened this issue Jul 24, 2021 · 0 comments
Open

Grammar railroad diagram #46

mingodad opened this issue Jul 24, 2021 · 0 comments

Comments

@mingodad
Copy link

With a tool I made to parse jison grammars an convert then to a kind of EBNF understood by https://www.bottlecaps.de/rr/ui .

For my tool to parse all of the jison grammars at https://github.com/jarble/transpiler/tree/master/javascript/js_transpiler/jison_parsers I needed to fix some of then and I'm attaching the output of git diff and also a zip with all grammars converted to the EBNF described above (they are all concatenated in one txt file you'll need to split/extract each one individually to generate the railroad diagram at https://www.bottlecaps.de/rr/ui).

For an example see this AlaSQL/alasql#1359

all-jison-parsers.diff.zip
all-jison-parsers-to-ebnf-railroad.txt.zip

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