This project provides a tool to automatically generate a TikZ (LaTeX) diagram from a EBNF grammar.
Latest version: 0.9
Example
TheEBNF grammar:("+" | "" | "-") ( "digit" )+ ( "." ( "digit" )+ )? ( "E"
("+" | "" | "-") ( "digit" )+ )?
When processed by
grammar2diagram generates the following
LaTeX diagram: