Tree-sitter
Some data may be outdated — see provenance labels.
An incremental parsing system for programming tools observed · 2026-10-01
Health v2 · maintenance only
96/100
- Activity 97
- Release rhythm 93
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 16.0
- age_days: 4731
- days_rel: 51
- days_push: 20
- n_releases_24m: 27
Adoption not part of the score
27097 stars · 2928 forks observed · 2026-10-01
What it is AI-extracted, prompt v1, taxonomy v1, 2026-10-05, confidence 0.98
Tree-sitter is a parser generator and incremental parsing library written in C with Rust bindings. It builds concrete syntax trees for source files and updates them efficiently as the code changes.
Use cases
- Generate a concrete syntax tree for a source file in an editor
- Provide real‑time syntax highlighting and error detection while typing
- Power language servers and IDE features with incremental parsing
- Create code analysis or refactoring tools that need up‑to‑date ASTs
- Embed a fast, dependency‑free parser in custom applications
When to choose
- You need fast, incremental parsing that updates on every keystroke
- Your tool must work with many programming languages without heavy dependencies
- You want a library that can be embedded in editors, IDEs, or language servers
- You require a pure C runtime that can also be used from Rust or WebAssembly
When to avoid
- You need deep semantic analysis or type checking beyond syntax
- Your project relies on a full compiler front‑end rather than just parsing
- You prefer a parser with built‑in code generation or interpretation capabilities
Facets
library · maturity active
parser cli developer-tools programming-languages windows wasm cli incremental-parsing syntax-tree rust c language-agnostic tree-sitter-cli linux macos
3 sources
- readme: https://github.com/tree-sitter/tree-sitter · fetched 2026-10-01 · 7984c7c2f775
- homepage: https://tree-sitter.github.io · fetched 2026-09-21 · f09585a2ecfa
- registry_crates: https://crates.io/api/v1/crates/tree-sitter · fetched 2026-09-21 · ef5c219dc19b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| tree-sitter/tree-sitter | main | 96 |
| tree-sitter/tree-sitter-cli | infra | 10 |
For agents
markdown · JSON · MCP: product_card(name="tree-sitter/tree-sitter")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem