Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 1.32 KB

README.md

File metadata and controls

37 lines (23 loc) · 1.32 KB

Bazel repository for tree-sitter.

This Bazel repository allows users to compile and use the tree-sitter C API from their Bazel projects.

Importing to some existing project

Important

--experimental_cc_implementation_deps MUST be enabled, see implementation_deps.

See INSTALL.md.

Targets

The following targets are exposed by this repository:

  • @tree-sitter-bazel//:tree-sitter: the tree-sitter C API.

Build configurations

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).