Hacker News new | ask | show | jobs
by Waterluvian 1912 days ago
A lot of regex testers do this and I can't imagine writing a regex or a parser without.
1 comments

>a parser without

can you show me a parser generator that produces this kind of visualization?

Not a syntactic parser generator, but [chevrotain](https://chevrotain.io/playground/) can generate flow diagrams for your ruleset. IIRC not just in the playground, but in general.
antlr has many that produces such visualization, vscode has some great plugins for it.
great thanks!