RRDiagram
Generate railroad diagrams from code or BNF. Generate BNF from code
RR Diagram allows to generate railroad diagrams (also called syntax diagrams) from code or from BNF notation. The output format is SVG which can be integrated to web pages and where rules can contain links.
RR Diagram can also be used to generate BNF notation from a model.