Description:
Incremental parsing library
|
|
Type: Formula
|
Latest Version: 0.26.3@0
|
Tracked Since: Dec 13, 2025
|
|
Links:
Homepage |
formulae.brew.sh
|
|
Category: Developer tools
|
|
Tags:
parsing
developer-tools
syntax-tree
c-library
language-grammar
|
|
Install:
brew install tree-sitter
|
About:
Tree-sitter is a parser generator tool and an incremental parsing library. It builds a concrete syntax tree for source code files and can efficiently update that tree as the file changes. This enables fast, robust parsing for use in text editors, linters, and other developer tools.
|
Key Features:
- Incremental parsing for high performance on code edits
- Supports over 50 programming languages via community grammars
- Generates a concrete syntax tree (CST) for precise code analysis
- Robust error recovery to handle malformed code gracefully
- Zero-dependency C library with bindings for many languages
|
Use Cases:
- Powering syntax highlighting and code folding in text editors
- Building static analysis tools, linters, and formatters
- Enabling IDE features like go-to-definition and refactoring
|
Alternatives:
-
ANTLR
– A powerful parser generator that typically requires a full re-parse on changes, unlike Tree-sitter's incremental model.
-
Regex-based parsers
– Simpler for basic tasks but lack the structural understanding and robustness of a full parser like Tree-sitter.
|
| Detected |
Version |
Rev |
Change |
Commit |
| Dec 13, 2025 3:11pm |
|
0 |
VERSION_BUMP |
f86f331e |
| Dec 10, 2025 9:45pm |
|
0 |
VERSION_BUMP |
50632255 |
| Sep 23, 2025 11:34pm |
|
0 |
VERSION_BUMP |
15d9051a |
| Jan 12, 2025 8:12pm |
|
0 |
VERSION_BUMP |
d9074a49 |
| Dec 27, 2024 5:59am |
|
0 |
VERSION_BUMP |
482b018d |
| Dec 27, 2024 5:18am |
|
0 |
VERSION_BUMP |
f2051cb6 |
| Dec 11, 2024 4:46pm |
|
0 |
VERSION_BUMP |
5057eb10 |
| Dec 11, 2024 10:04am |
|
0 |
VERSION_BUMP |
62135d5e |
| Nov 19, 2024 12:01am |
|
0 |
VERSION_BUMP |
20c9bc0b |
| Nov 12, 2024 10:12am |
|
0 |
VERSION_BUMP |
068e0dd2 |
| Nov 10, 2024 6:53am |
|
0 |
VERSION_BUMP |
72aa8c01 |
| Oct 9, 2024 11:44pm |
|
0 |
VERSION_BUMP |
f089b78d |
| Oct 9, 2024 9:53pm |
|
0 |
VERSION_BUMP |
cdf96d37 |
| Oct 5, 2024 11:54pm |
|
0 |
VERSION_BUMP |
68dc14bb |
| Oct 5, 2024 5:05pm |
|
0 |
VERSION_BUMP |
9c646b0a |
| Oct 5, 2024 6:23am |
|
0 |
VERSION_BUMP |
a3d21859 |
| Oct 1, 2024 4:57pm |
|
0 |
VERSION_BUMP |
399eb342 |
| Oct 1, 2024 1:08am |
|
0 |
VERSION_BUMP |
c4e4edc7 |
|