lark
lark copied to clipboard
Have a simple way to create railroad diagram from grammar
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.
Maybe you'll find this helpful: https://github.com/MegaIng/lark-railroad