Metadata-Version: 2.4
Name: textx-gen-coloring
Version: 0.2.0
Summary: A syntax highlight generator for textX languages
Keywords: syntax highlighting,language,DSL
Author-email: Daniel Elero <danixeee@gmail.com>
Maintainer-email: Daniel Elero <danixeee@gmail.com>, "Igor R. Dejanović" <igor.dejanovic@gmail.com>
Requires-Python: >=3.5
Description-Content-Type: text/markdown
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
License-File: LICENSE
Requires-Dist: click
Requires-Dist: jinja2
Requires-Dist: textx
Requires-Dist: bandit==1.6.2 ; extra == "ci"
Requires-Dist: pytest==5.3.2 ; extra == "ci"
Requires-Dist: pytest-cov==2.8.1 ; extra == "ci"
Requires-Dist: pytest-azurepipelines==0.8.0 ; extra == "ci"
Requires-Dist: bandit==1.6.2 ; extra == "dev"
Requires-Dist: ruff ; extra == "dev"
Requires-Dist: coverage==5.0.1 ; extra == "test"
Requires-Dist: pytest==5.3.2 ; extra == "test"
Requires-Dist: pytest-cov==2.8.1 ; extra == "test"
Project-URL: Changelog, https://github.com/textX/textx-gen-coloring/blob/master/CHANGELOG.md
Project-URL: Homepage, https://github.com/textX/textx-gen-coloring/
Project-URL: Repository, https://github.com/textX/textx-gen-coloring/
Provides-Extra: ci
Provides-Extra: dev
Provides-Extra: test

# Syntax Highlighting Generator for textX Languages

This project uses [textX](https://github.com/textx/textx) grammar and generates syntax highlighting file for it.

Supported syntax highlighting languages:

- textmate (used by VS Code and [textx-gen-vscode](https://github.com/danixeee/textx-gen-vscode) project)

## CLI Examples

Generate a default syntax highlighting for _workflow_ language:

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

Generate a custom syntax highlighting for _workflow_ language:

```bash
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](https://github.com/textX/textX-languageserver) project.

