This project provides Python bindings for the SPTHY grammar, based on the tree-sitter grammar from vscode-tamarin.
The grammar is compiled and made accessible on PyPI, allowing integration with the tree-sitter library in Python. This enables parsing and analysis of SPTHY files directly from Python code.
- SPTHY grammar support for tree-sitter in Python
- Easy installation via PyPI
- Direct integration with the
tree-sitterPython library
pip install py-tree-sitter-spthyYou can use this package with the tree-sitter Python library to parse SPTHY files.
This project is licensed under the GNU GPLv3 License.
Contributions are welcome! Please open issues or pull requests for improvements or bug fixes.
This project is based on the SPTHY grammar from the Tamarin Prover project, using the official repo of the vscode plugin.