Skip to content

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. tree-sitter tree-sitter Public

    An incremental parsing system for programming tools

    Rust 24.3k 2.5k

  2. node-tree-sitter node-tree-sitter Public

    Node.js bindings for tree-sitter

    JavaScript 834 163

  3. py-tree-sitter py-tree-sitter Public

    Python bindings to the Tree-sitter parsing library

    C 1.4k 173

  4. go-tree-sitter go-tree-sitter Public

    Go bindings for tree-sitter

    C 216 41

  5. tree-sitter-python tree-sitter-python Public

    Python grammar for tree-sitter

    JavaScript 533 215

  6. tree-sitter-javascript tree-sitter-javascript Public

    Javascript grammar for tree-sitter

    JavaScript 468 176

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
    Rust 24,295 MIT 2,496 115 27 Updated Mar 20, 2026
  • py-tree-sitter Public

    Python bindings to the Tree-sitter parsing library

    tree-sitter/py-tree-sitter’s past year of commit activity
    C 1,380 MIT 173 6 (3 issues need help) 8 Updated Mar 20, 2026
  • tree-sitter-rust Public

    Rust grammar for tree-sitter

    tree-sitter/tree-sitter-rust’s past year of commit activity
    JavaScript 486 MIT 137 21 26 Updated Mar 19, 2026
  • workflows Public

    Reusable workflows for tree-sitter parsers

    tree-sitter/workflows’s past year of commit activity
    38 23 1 2 Updated Mar 19, 2026
  • tree-sitter-php Public

    PHP grammar for tree-sitter

    tree-sitter/tree-sitter-php’s past year of commit activity
    JavaScript 212 MIT 71 1 0 Updated Mar 19, 2026
  • swift-tree-sitter Public

    Swift API for the tree-sitter incremental parsing system

    tree-sitter/swift-tree-sitter’s past year of commit activity
    Swift 381 BSD-3-Clause 47 3 0 Updated Mar 18, 2026
  • tree-sitter-scala Public

    Scala grammar for tree-sitter

    tree-sitter/tree-sitter-scala’s past year of commit activity
    JavaScript 183 MIT 64 27 (3 issues need help) 7 Updated Mar 12, 2026
  • node-tree-sitter Public

    Node.js bindings for tree-sitter

    tree-sitter/node-tree-sitter’s past year of commit activity
    JavaScript 834 MIT 163 10 5 Updated Mar 11, 2026
  • tree-sitter-ruby Public

    Ruby grammar for tree-sitter

    tree-sitter/tree-sitter-ruby’s past year of commit activity
    C 225 MIT 74 22 9 Updated Mar 10, 2026
  • .github Public

    Tree-sitter organization info

    tree-sitter/.github’s past year of commit activity
    14 12 0 0 Updated Mar 4, 2026

Sponsors

  • @ntsk
  • @alecbcs
  • @laiso
  • @yamadashy
  • Private Sponsor
  • Private Sponsor

Top languages

Loading…