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 26.9k 2.9k

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

    Node.js bindings for tree-sitter

    JavaScript 874 171

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

    Python bindings to the Tree-sitter parsing library

    C 1.5k 194

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

    Go bindings for tree-sitter

    C 294 50

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

    Python grammar for tree-sitter

    JavaScript 566 244

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

    Javascript grammar for tree-sitter

    JavaScript 493 195

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 26,910 MIT 2,884 97 5 Updated Sep 10, 2026
  • workflows Public

    Reusable workflows for tree-sitter parsers

    tree-sitter/workflows's past year of commit activity
    41 MIT-0 27 1 3 Updated Sep 6, 2026
  • java-tree-sitter Public

    Java bindings to the Tree-sitter parsing library

    tree-sitter/java-tree-sitter's past year of commit activity
    Java 141 MIT 34 4 (2 issues need help) 4 Updated Sep 5, 2026
  • tree-sitter-ocaml Public

    OCaml grammar for tree-sitter

    tree-sitter/tree-sitter-ocaml's past year of commit activity
    JavaScript 103 MIT 36 2 2 Updated Aug 30, 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,497 MIT 194 12 (4 issues need help) 4 Updated Aug 30, 2026
  • kotlin-tree-sitter Public

    Kotlin bindings to the Tree-sitter parsing library

    tree-sitter/kotlin-tree-sitter's past year of commit activity
    Kotlin 97 MIT 18 6 (1 issue needs help) 4 Updated Aug 30, 2026
  • tree-sitter-scala Public

    Scala grammar for tree-sitter

    tree-sitter/tree-sitter-scala's past year of commit activity
    JavaScript 196 MIT 70 9 6 Updated Aug 25, 2026
  • tree-sitter-json Public

    JSON grammar for tree-sitter

    tree-sitter/tree-sitter-json's past year of commit activity
    JavaScript 204 MIT 79 3 5 Updated Aug 17, 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 417 BSD-3-Clause 54 2 1 Updated Aug 12, 2026
  • parser-test-action Public

    Test action for tree-sitter parsers

    tree-sitter/parser-test-action's past year of commit activity
    22 MIT 13 0 4 Updated Aug 10, 2026

Sponsors

  • @lidarbtc
  • @timothy-miron
  • @openai
  • @jrstrunk
  • @fionn
  • @amterp
  • @shepherdjerred
  • @ntsk
  • @alecbcs
  • @laiso
  • @yamadashy
  • Private Sponsor
  • Private Sponsor
  • Private Sponsor