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 22.2k 2.1k

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

    Node.js bindings for tree-sitter

    JavaScript 776 144

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

    Python bindings to the Tree-sitter parsing library

    C 1.2k 148

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

    Go bindings for tree-sitter

    C 155 26

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

    Python grammar for tree-sitter

    JavaScript 485 176

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

    Javascript grammar for tree-sitter

    JavaScript 443 147

Repositories

Showing 10 of 56 repositories
  • tree-sitter-c-sharp Public

    C# Grammar for tree-sitter

    tree-sitter/tree-sitter-c-sharp’s past year of commit activity
    JavaScript 253 MIT 69 24 (4 issues need help) 5 Updated Sep 30, 2025
  • tree-sitter Public

    An incremental parsing system for programming tools

    tree-sitter/tree-sitter’s past year of commit activity
    Rust 22,185 MIT 2,090 87 10 Updated Sep 29, 2025
  • tree-sitter-css Public

    CSS grammar for Tree-sitter

    tree-sitter/tree-sitter-css’s past year of commit activity
    JavaScript 120 MIT 44 1 0 Updated Sep 28, 2025
  • 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 330 BSD-3-Clause 35 2 0 Updated Sep 28, 2025
  • 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,217 MIT 148 4 (3 issues need help) 4 Updated Sep 28, 2025
  • workflows Public

    Reusable workflows for tree-sitter parsers

    tree-sitter/workflows’s past year of commit activity
    29 19 0 1 Updated Sep 28, 2025
  • tree-sitter-cpp Public

    C++ grammar for tree-sitter

    tree-sitter/tree-sitter-cpp’s past year of commit activity
    JavaScript 369 MIT 131 42 0 Updated Sep 27, 2025
  • java-tree-sitter Public

    Java bindings to the Tree-sitter parsing library

    tree-sitter/java-tree-sitter’s past year of commit activity
    Java 86 MIT 19 5 (3 issues need help) 3 Updated Sep 27, 2025
  • node-tree-sitter Public

    Node.js bindings for tree-sitter

    tree-sitter/node-tree-sitter’s past year of commit activity
    JavaScript 776 MIT 144 15 7 Updated Sep 24, 2025
  • parser-test-action Public

    Test action for tree-sitter parsers

    tree-sitter/parser-test-action’s past year of commit activity
    14 MIT 10 0 1 Updated Sep 22, 2025