tools to generate a graph from a syntax file
A lua script that generates a dot file to help visualize a syntax. It depends on argparse and xmllpegparser. If any modules are missing, a command line to install them is displayed.
./data/generators/generate-dot-file.lua data/syntax/m3u.xml -c |dot -Tpng -o b.png
./data/generators/generate-dot-file.lua data/syntax/m3u.xml |dot -Tpng -o a.png