tree-sitter [![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-sitter

[![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
- [Rust binding](lib/binding_rust/README.md)
- [Wasm binding](lib/binding_web/README.md)
- [Command-line interface](crates/cli/README.md)
Members
-
tree-sitter ★ PINNED
An incremental parsing system for programming tools
Rust ★ 27k 15h agoExplain → -
node-tree-sitter ★ PINNED
Node.js bindings for tree-sitter
JavaScript ★ 865 12d agoExplain → -
py-tree-sitter ★ PINNED
Python bindings to the Tree-sitter parsing library
C ★ 1.5k 1d agoExplain → -
go-tree-sitter ★ PINNED
Go bindings for tree-sitter
C ★ 287 8mo agoExplain → -
tree-sitter-python ★ PINNED
Python grammar for tree-sitter
JavaScript ★ 559 10mo agoExplain → -
tree-sitter-javascript ★ PINNED
Javascript grammar for tree-sitter
JavaScript ★ 487 8mo agoExplain → -
tree-sitter-typescript
TypeScript grammar for tree-sitter
JavaScript ★ 528 11mo agoExplain → -
tree-sitter-rust
Rust grammar for tree-sitter
JavaScript ★ 522 4mo agoExplain → -
tree-sitter-cpp
C++ grammar for tree-sitter
JavaScript ★ 445 5mo agoExplain → -
tree-sitter-go
Go grammar for tree-sitter
JavaScript ★ 415 5mo agoExplain → -
swift-tree-sitter
Swift API for the tree-sitter incremental parsing system
Swift ★ 410 4d agoExplain → -
tree-sitter-c
C grammar for tree-sitter
JavaScript ★ 386 21d agoExplain → -
tree-sitter-graph
Construct graphs from parsed source code
Rust ★ 343 1y agoExplain → -
tree-sitter-bash
Bash grammar for tree-sitter
C ★ 324 8mo agoExplain → -
tree-sitter-c-sharp
C# Grammar for tree-sitter
JavaScript ★ 315 20d agoExplain → -
tree-sitter-java
Java grammar for tree-sitter
JavaScript ★ 272 7mo agoExplain → -
tree-sitter-php
PHP grammar for tree-sitter
JavaScript ★ 230 20d agoExplain → -
tree-sitter-ruby
Ruby grammar for tree-sitter
C ★ 230 5mo agoExplain → -
tree-sitter-html
HTML grammar for Tree-sitter
C ★ 212 8mo agoExplain → -
tree-sitter-json
JSON grammar for tree-sitter
JavaScript ★ 204 8mo agoExplain → -
tree-sitter-scala
Scala grammar for tree-sitter
JavaScript ★ 196 17h agoExplain → -
tree-sitter-haskell
Haskell grammar for tree-sitter.
C ★ 186 11mo agoExplain → -
haskell-tree-sitter
Haskell bindings for tree-sitter
Haskell ★ 177 1y agoExplain → -
tree-sitter-css
CSS grammar for Tree-sitter
JavaScript ★ 139 10mo agoExplain → -
java-tree-sitter
Java bindings to the Tree-sitter parsing library
Java ★ 138 1d agoExplain → -
csharp-tree-sitter
C# bindings to the Tree-sitter parsing library
C# ★ 136 1y agoExplain → -
tree-sitter-julia
Julia grammar for tree-sitter
JavaScript ★ 128 9mo agoExplain → -
tree-sitter-verilog
SystemVerilog grammar for tree-sitter
JavaScript ★ 122 1y agoExplain → -
zig-tree-sitter
Zig bindings to the Tree-sitter parsing library
Zig ★ 120 1mo agoExplain → -
tree-sitter-regex
Tree-sitter parser for regular expressions
JavaScript ★ 107 11mo agoExplain → -
tree-sitter-ocaml
OCaml grammar for tree-sitter
JavaScript ★ 102 7d agoExplain → -
kotlin-tree-sitter
Kotlin bindings to the Tree-sitter parsing library
Kotlin ★ 95 1d agoExplain → -
tree-sitter-embedded-template
Tree-sitter grammar for embedded template languages like ERB, EJS
JavaScript ★ 82 11mo agoExplain → -
ruby-tree-sitter.old ▣
Ruby bindings to tree-sitter
C ★ 66 4y agoExplain → -
tree-sitter-swift ▣
Swift grammar for tree-sitter
JavaScript ★ 60 4y agoExplain → -
tree-sitter-cli ▣
CLI tool for creating and testing tree-sitter parsers
JavaScript ★ 53 7y agoExplain → -
tree-sitter-jsdoc
JSDoc grammar for Tree-sitter
JavaScript ★ 51 11mo agoExplain → -
tree-sitter-agda
Agda grammar for tree-sitter
Yacc ★ 47 11mo agoExplain → -
workflows
Reusable workflows for tree-sitter parsers
★ 41 1d agoExplain → -
rust-tree-sitter ▣
Rust bindings to Tree-sitter
Rust ★ 39 7y agoExplain → -
tree-sitter-ql
tree-sitter grammar for the CodeQL language
JavaScript ★ 36 1mo agoExplain → -
tree-sitter.github.io
Source HTML for the Tree-sitter organization site
JavaScript ★ 28 11mo agoExplain → -
parser-test-action
Test action for tree-sitter parsers
★ 21 1d agoExplain → -
setup-action
Setup action for the tree-sitter library & CLI
★ 17 1d agoExplain → -
fuzz-action
Input fuzzing action for tree-sitter parsers
Perl ★ 17 1y agoExplain → -
.github
Tree-sitter organization info
★ 17 5mo agoExplain → -
tree-sitter-tsq ▣
tree-sitter grammar for the tree-sitter query language
JavaScript ★ 13 2y agoExplain → -
highlight-schema ▣
Schema for syntax highlighting property sheets
JavaScript ★ 12 7y agoExplain → -
afl-tree-sitter
AFL test harness for tree-sitter runtime and parsers
C ★ 11 9y agoExplain → -
tree-sitter-toml ⑂ ▣
TOML grammar for tree-sitter
JavaScript ★ 10 4y agoExplain → -
parser-update-action
Dependency updating action for tree-sitter parsers
JavaScript ★ 10 2y agoExplain → -
parser-setup-action
[DEPRECATED] Setup action for tree-sitter parsers
★ 10 2y agoExplain → -
tree-sitter-razor ▣
(WIP) C# Razor grammar for tree-sitter
C ★ 8 10y agoExplain → -
tree-sitter-fluent
No description.
JavaScript ★ 7 2y agoExplain → -
parse-action
File parsing action for tree-sitter parsers
JavaScript ★ 7 1y agoExplain → -
tree-sitter-ql-dbscheme
tree-sitter support for `.dbscheme` files (as used in CodeQL).
JavaScript ★ 5 1y agoExplain →
No repos match these filters.