https://github.com/tree-sitter/tree-sitter
An incremental parsing system for programming tools
https://github.com/tree-sitter/tree-sitter
c incremental parser parsing rust tree-sitter wasm
Last synced: 5 months ago
JSON representation
An incremental parsing system for programming tools
- Host: GitHub
- URL: https://github.com/tree-sitter/tree-sitter
- Owner: tree-sitter
- License: mit
- Created: 2013-11-06T06:16:00.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2025-05-03T22:08:12.000Z (5 months ago)
- Last Synced: 2025-05-05T11:16:19.004Z (5 months ago)
- Topics: c, incremental, parser, parsing, rust, tree-sitter, wasm
- Language: Rust
- Homepage: https://tree-sitter.github.io
- Size: 18.3 MB
- Stars: 20,478
- Watchers: 226
- Forks: 1,788
- Open Issues: 189
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-ccamel - tree-sitter/tree-sitter - An incremental parsing system for programming tools (Rust)
- awesome-list - tree-sitter - sitter | 6028 | (Rust)
- awesome-cxx-parsers - `README.md`
- StarryDivineSky - tree-sitter/tree-sitter
- my-awesome - tree-sitter/tree-sitter - sitter,wasm pushed_at:2025-09 star:22.2k fork:2.1k An incremental parsing system for programming tools (Rust)
- awesome-starred - tree-sitter/tree-sitter - An incremental parsing system for programming tools (Rust)
- stars - tree-sitter/tree-sitter - An incremental parsing system for programming tools (Rust)
- AiTreasureBox - tree-sitter/tree-sitter - 10-08_22252_4](https://img.shields.io/github/stars/tree-sitter/tree-sitter.svg)|An incremental parsing system for programming tools| (Repos)
README
# tree-sitter
[](https://zenodo.org/badge/latestdoi/14164618)
[![discord][discord]](https://discord.gg/w7nTvsVJhm)
[![matrix][matrix]](https://matrix.to/#/#tree-sitter-chat:matrix.org)Tree-sitter is a parser generator tool and an incremental parsing library. It can build a concrete syntax tree for a source file and efficiently update the syntax tree as the source file is edited. Tree-sitter aims to be:
- **General** enough to parse any programming language
- **Fast** enough to parse on every keystroke in a text editor
- **Robust** enough to provide useful results even in the presence of syntax errors
- **Dependency-free** so that the runtime library (which is written in pure C) can be embedded in any application## Links
- [Documentation](https://tree-sitter.github.io)
- [Rust binding](lib/binding_rust/README.md)
- [WASM binding](lib/binding_web/README.md)
- [Command-line interface](cli/README.md)[discord]: https://img.shields.io/discord/1063097320771698699?logo=discord&label=discord
[matrix]: https://img.shields.io/matrix/tree-sitter-chat%3Amatrix.org?logo=matrix&label=matrix