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.