tree-sitter

tree-sitter

DOI

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

Pinned Loading

  1. An incremental parsing system for programming tools

    Rust 24k 2.4k

  2. Node.js bindings for tree-sitter

    JavaScript 827 162

  3. Python bindings to the Tree-sitter parsing library

    C 1.4k 170

  4. Go bindings for tree-sitter

    C 212 40

  5. Python grammar for tree-sitter

    JavaScript 528 206

  6. Javascript grammar for tree-sitter

    JavaScript 464 169

Repositories

Showing 10 of 56 repositories

  • tree-sitter Public

    An incremental parsing system for programming tools

    tree-sitter/tree-sitter’s past year of commit activity

  • tree-sitter/node-tree-sitter’s past year of commit activity

    JavaScript

    827

    MIT

    162 10 5

    Updated Mar 1, 2026

  • workflows Public

    Reusable workflows for tree-sitter parsers

    tree-sitter/workflows’s past year of commit activity

  • py-tree-sitter Public

    Python bindings to the Tree-sitter parsing library

    tree-sitter/py-tree-sitter’s past year of commit activity

  • tree-sitter/java-tree-sitter’s past year of commit activity

  • tree-sitter/tree-sitter-go’s past year of commit activity

    JavaScript

    399

    MIT

    84 7 6

    Updated Feb 28, 2026

  • tree-sitter/tree-sitter-cpp’s past year of commit activity

    JavaScript

    403

    MIT

    152 52 3

    Updated Feb 25, 2026

  • tree-sitter/tree-sitter-c-sharp’s past year of commit activity

  • tree-sitter/swift-tree-sitter’s past year of commit activity

    Swift

    371

    BSD-3-Clause

    46 4 0

    Updated Feb 15, 2026

  • tree-sitter/tree-sitter-php’s past year of commit activity

    JavaScript

    210

    MIT

    69 1 0

    Updated Feb 2, 2026