lark icon indicating copy to clipboard operation
lark copied to clipboard

Have a simple way to create railroad diagram from grammar

Open pauser0000001 opened this issue 3 years ago • 1 comments

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.

pauser0000001 avatar Jan 30 '22 10:01 pauser0000001

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

erezsh avatar Jan 30 '22 13:01 erezsh