FreeBSD.software
Home/graphics/py311-railroad-diagrams

py311-railroad-diagrams

3.0.1_1

Generate SVG railroad syntax diagrams, like on JSON.org

Railroad-diagram Generator is a small library for generating railroad diagrams (like what JSON.org uses) using SVG, with both JS and Python ports. Railroad diagrams are a way of visually representing a grammar in a form that is more readable than using regular expressions or BNF. They can easily represent any context-free grammar, and some more powerful grammars. There are several railroad-diagram generators out there, but none of them had the visual appeal I wanted, so I wrote my own.

Origin: graphics/py-railroad-diagrams
Category: graphics
Size: 239KiB
License: MIT
Maintainer: sunpoet@FreeBSD.org
Dependencies: 1 packages
Required by: 0 packages
$pkg install py311-railroad-diagrams

Dependencies (1)

More in graphics