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

Have a simple way to create railroad diagram from grammar #1092

Open
pauser0000001 opened this issue Jan 30, 2022 · 1 comment
Open

Have a simple way to create railroad diagram from grammar #1092

pauser0000001 opened this issue Jan 30, 2022 · 1 comment

Comments

@pauser0000001
Copy link

Suggestion
The grammars are easier to follow with a rail road diagram. It would be nice to have the chance to create one.

Describe alternatives you've considered
The best rail road diagram generator I know is https://github.com/GuntherRademacher/rr
Unfortunately, it doesn't understand lark grammar syntax (::= instead of :, for example)
Would be nice to have a personalized fork or branch o even a reimplementation in python just for lark grammars.

@erezsh
Copy link
Member

erezsh commented Jan 30, 2022

Maybe you'll find this helpful: https://github.com/MegaIng/lark-railroad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants