Skip to content

tools to generate a graph from a syntax file

jonathan poelen requested to merge jpoelen/syntax-highlighting:dotgen into master

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

b a

Merge request reports

Loading