Skip to content
@tree-sitter

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

    An incremental parsing system for programming tools

    Rust 19.1k 1.5k

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

    Node.js bindings for tree-sitter

    JavaScript 671 119

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

    Python bindings to the Tree-sitter parsing library

    C 935 109

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

    Go bindings for tree-sitter

    C 44 11

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

    Python grammar for tree-sitter

    JavaScript 390 144

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

    Javascript grammar for tree-sitter

    JavaScript 374 119

Repositories

Showing 10 of 55 repositories
  • tree-sitter Public

    An incremental parsing system for programming tools

    tree-sitter/tree-sitter’s past year of commit activity
    Rust 19,137 MIT 1,543 183 17 Updated Jan 4, 2025
  • tree-sitter-julia Public

    Julia grammar for tree-sitter

    tree-sitter/tree-sitter-julia’s past year of commit activity
    JavaScript 106 MIT 36 20 (1 issue needs help) 0 Updated Jan 3, 2025
  • kotlin-tree-sitter Public

    Kotlin bindings to the Tree-sitter parsing library

    tree-sitter/kotlin-tree-sitter’s past year of commit activity
    Kotlin 17 MIT 1 3 1 Updated Jan 3, 2025
  • node-tree-sitter Public

    Node.js bindings for tree-sitter

    tree-sitter/node-tree-sitter’s past year of commit activity
    JavaScript 671 MIT 119 9 1 Updated Dec 30, 2024
  • py-tree-sitter Public

    Python bindings to the Tree-sitter parsing library

    tree-sitter/py-tree-sitter’s past year of commit activity
    C 935 MIT 109 2 (2 issues need help) 3 Updated Dec 29, 2024
  • workflows Public

    Reusable workflows for tree-sitter parsers

    tree-sitter/workflows’s past year of commit activity
    15 8 0 1 Updated Dec 29, 2024
  • zig-tree-sitter Public

    Zig bindings to the Tree-sitter parsing library

    tree-sitter/zig-tree-sitter’s past year of commit activity
    Zig 4 MIT 1 0 0 Updated Dec 28, 2024
  • tree-sitter-c Public

    C grammar for tree-sitter

    tree-sitter/tree-sitter-c’s past year of commit activity
    JavaScript 252 MIT 111 27 4 Updated Dec 28, 2024
  • tree-sitter-typescript Public

    TypeScript grammar for tree-sitter

    tree-sitter/tree-sitter-typescript’s past year of commit activity
    JavaScript 392 MIT 112 13 3 Updated Dec 28, 2024
  • java-tree-sitter Public

    Java bindings to the Tree-sitter parsing library

    tree-sitter/java-tree-sitter’s past year of commit activity
    Java 31 MIT 8 3 (2 issues need help) 5 Updated Dec 27, 2024