/textx-gen-coloring

A syntax highlight generator for any textX language

Primary LanguagePythonMIT LicenseMIT

Syntax Highlighting Generator for textX Languages

This project uses textX grammar and generates syntax highlighting file for it.

Supported syntax highlighting languages:

CLI Examples

Generate a default syntax highlighting for workflow language:

textX generate --target textmate ./examples/workflow/workflow.tx --name Workflow

Generate a custom syntax highlighting for workflow language:

textX generate --target textmate ./examples/workflow/workflow.tx --name Workflow --syntax_spec ./examples/workflow/workflow.txcl

Other Notes

Some parts of code are used from textX-languageserver project.