---
title: tree-sitter/tree-sitter
framework: Swift Package Catalog
role: article
path: packages/tree-sitter/tree-sitter
---

# tree-sitter/tree-sitter

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:

## Links

- [Documentation](https://tree-sitter.github.io) - [Rust binding](lib/binding_rust/README.md) - [Wasm binding](lib/binding_web/README.md) - [Command-line interface](crates/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

## Package Metadata

Repository: tree-sitter/tree-sitter

Default branch: master

README: README.md
