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 19.6k 1.6k

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

    Node.js bindings for tree-sitter

    JavaScript 688 123

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

    Python bindings to the Tree-sitter parsing library

    C 969 114

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

    Go bindings for tree-sitter

    C 63 13

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

    Python grammar for tree-sitter

    JavaScript 402 147

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

    Javascript grammar for tree-sitter

    JavaScript 387 122

Repositories

Showing 10 of 56 repositories
  • java-tree-sitter Public

    Java bindings to the Tree-sitter parsing library

    tree-sitter/java-tree-sitter’s past year of commit activity
    Java 41 MIT 12 1 1 Updated Feb 16, 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 969 MIT 113 2 (2 issues need help) 2 Updated Feb 15, 2025
  • tree-sitter-c-sharp Public

    C# Grammar for tree-sitter

    tree-sitter/tree-sitter-c-sharp’s past year of commit activity
    JavaScript 212 MIT 61 19 (4 issues need help) 1 Updated Feb 14, 2025
  • tree-sitter-julia Public

    Julia grammar for tree-sitter

    tree-sitter/tree-sitter-julia’s past year of commit activity
    JavaScript 110 MIT 37 20 (1 issue needs help) 1 Updated Feb 13, 2025
  • tree-sitter Public

    An incremental parsing system for programming tools

    tree-sitter/tree-sitter’s past year of commit activity
    Rust 19,586 MIT 1,628 140 16 Updated Feb 13, 2025
  • tree-sitter.github.io Public

    Source HTML for the Tree-sitter organization site

    tree-sitter/tree-sitter.github.io’s past year of commit activity
    JavaScript 18 12 0 0 Updated Feb 8, 2025
  • workflows Public

    Reusable workflows for tree-sitter parsers

    tree-sitter/workflows’s past year of commit activity
    18 10 0 0 Updated Feb 8, 2025
  • tree-sitter-c Public

    C grammar for tree-sitter

    tree-sitter/tree-sitter-c’s past year of commit activity
    JavaScript 260 MIT 114 28 4 Updated Feb 8, 2025
  • zig-tree-sitter Public

    Zig bindings to the Tree-sitter parsing library

    tree-sitter/zig-tree-sitter’s past year of commit activity
    Zig 9 MIT 1 0 1 Updated Feb 8, 2025
  • tree-sitter-cpp Public

    C++ grammar for tree-sitter

    tree-sitter/tree-sitter-cpp’s past year of commit activity
    JavaScript 291 MIT 96 30 1 Updated Feb 6, 2025