Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • S Syntax Highlighting Engine
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • FrameworksFrameworks
  • Syntax Highlighting Engine
  • Merge requests
  • !63

tools to generate a graph from a syntax file

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Jonathan Poelen requested to merge jpoelen/syntax-highlighting:dotgen into master Sep 13, 2020
  • Overview 1
  • Commits 2
  • Pipelines 0
  • Changes 1

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

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: dotgen