tree-sitter/tree-sitter
An incremental parsing system for programming tools observed · 2026-08-28
Health v2 · maintenance only
99/100
- Activity 99
- Release rhythm 99
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 16
- age_days: 4683
- days_rel: 10
- days_push: 7
- n_releases_24m: 32
Adoption not part of the score
26764 stars · 2847 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Tree-sitter is a parser generator tool and incremental parsing library that builds concrete syntax trees for source files and efficiently updates them as edits occur. Its runtime is written in pure C with bindings for Rust, WebAssembly, and other languages, making it embeddable in editors and programming tools.
Use cases
- build syntax highlighting for a code editor
- parse source code incrementally on every keystroke
- write a grammar for a new programming language
- analyze or refactor code with a concrete syntax tree
- parse code robustly even with syntax errors
- embed a fast parser in a Rust or C application
When to choose
- you need fast, incremental re-parsing of edited source files
- you want error-tolerant parsing that still yields useful trees
- you need a dependency-free C runtime embeddable anywhere
- you're building editor features like highlighting, folding, or code navigation
When to avoid
- you only need one-off parsing with no incremental updates
- you need full semantic analysis or type checking rather than syntax trees
- your target format is data (JSON/YAML) rather than programming languages
Facets
library · maturity stable
parser interpreter developer-tools parsers programming-languages developer-tools text-editors cross-platform rust cpp wasm python cli parser-generator syntax-highlighting concrete-syntax-tree error-tolerant-parsing editor-integration code-analysis nodejs
3 sources
- readme: https://github.com/tree-sitter/tree-sitter · fetched 2026-08-28 · 7984c7c2f775
- homepage: https://tree-sitter.github.io · fetched 2026-08-29 · f09585a2ecfa
- registry_crates: https://crates.io/api/v1/crates/tree-sitter · fetched 2026-08-29 · 5d8a92ffb956
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| tree-sitter/tree-sitter | main | 99 |
For agents
markdown · JSON · MCP: product_card(name="tree-sitter/tree-sitter")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem