Back to search results
tree-sitter owner avatar

tree-sitter

An incremental parsing system for programming tools

Library c incremental parser
Minimal

Install package

Latest
min add tree-sitter
Source archive SHA256
7cbc13c9…d447
Spec hash
789b776a…0bad
Target
amd64/linux
Needs network
No
Closed source
No

Quick links

[ Docs ] [ Changelog ] [ Repo ] [ Security ] [ SBOM ]

What is tree-sitter?

An incremental parsing system for programming tools

How to use this package

Quick install

Installs the package into the current environment for this session. Use --build or --runtime to persist it as a build-time or runtime dependency.

min add tree-sitter

Declare as a task dependency in minimal.toml

Listing the package under tasks.<name>.packages makes it available inside that task’s sandbox.

[tasks.dev]
packages = ["tree-sitter"]

Build-time vs runtime

Choose build-time for tools needed during compilation, runtime for dynamic libraries loaded at runtime.

min add --build tree-sitter
min add --runtime tree-sitter