py-tree-sitter#
Python bindings to the Tree-sitter parsing library.
Constants#
- tree_sitter.LANGUAGE_VERSION = 15#
The latest ABI version that is supported by the current version of the library.
Note
When a
Languageis generated by the Tree-sitter CLI, it is assigned an ABI version number that corresponds to the current CLI version. The Tree-sitter library is generally backwards-compatible with languages generated using older CLI versions, but is not forwards-compatible.
- tree_sitter.MIN_COMPATIBLE_LANGUAGE_VERSION = 13#
The earliest ABI version that is supported by the current version of the library.
- tree_sitter.__version__ = '0.25.2'#
The version of the tree-sitter package.
