Bazel repository for tree-sitter
.
This Bazel repository allows users to compile and use the tree-sitter
C API
from their Bazel projects.
Important
--experimental_cc_implementation_deps
MUST be enabled, see implementation_deps
.
See INSTALL.md.
The following targets are exposed by this repository:
@tree-sitter-bazel//:tree-sitter
: the tree-sitter C API.
The following build configuration are available:
@tree-sitter-bazel//build_config:wasm
: enable wasm (not yet supported).@tree-sitter-bazel//build_config:hide_symbols
: hide symbols (default: false).