Closes https://github.com/tree-sitter/tree-sitter/issues/1317. Closes https://github.com/tree-sitter/tree-sitter/issues/1752. Closes https://github.com/tree-sitter/tree-sitter/issues/2439. Co-authored-by: Simon Hengel <sol@typeful.net> Co-authored-by: Akash Yadav <itsaky01@gmail.com> Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Co-authored-by: Laytan Laats <laytanlaats@hotmail.com>
17 lines
839 B
Markdown
17 lines
839 B
Markdown
# tree-sitter
|
|
|
|
[](https://zenodo.org/badge/latestdoi/14164618)
|
|
|
|
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)
|