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 19k 1.5k

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

    Node.js bindings for tree-sitter

    JavaScript 669 119

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

    Python bindings to the Tree-sitter parsing library

    C 927 108

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

    Go bindings for tree-sitter

    C 42 10

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

    Python grammar for tree-sitter

    JavaScript 386 143

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

    Javascript grammar for tree-sitter

    JavaScript 372 119

Repositories

Showing 10 of 55 repositories
  • tree-sitter-python Public

    Python grammar for tree-sitter

    tree-sitter/tree-sitter-python’s past year of commit activity
    JavaScript 386 MIT 143 10 (1 issue needs help) 2 Updated Dec 22, 2024
  • parser-test-action Public

    Test action for tree-sitter parsers

    tree-sitter/parser-test-action’s past year of commit activity
    5 MIT 4 0 0 Updated Dec 21, 2024
  • tree-sitter-java Public

    Java grammar for tree-sitter

    tree-sitter/tree-sitter-java’s past year of commit activity
    JavaScript 164 MIT 107 0 2 Updated Dec 21, 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 927 MIT 108 2 (2 issues need help) 3 Updated Dec 21, 2024
  • tree-sitter Public

    An incremental parsing system for programming tools

    tree-sitter/tree-sitter’s past year of commit activity
    Rust 19,044 MIT 1,528 214 24 Updated Dec 20, 2024
  • kotlin-tree-sitter Public

    Kotlin bindings to the Tree-sitter parsing library

    tree-sitter/kotlin-tree-sitter’s past year of commit activity
    Kotlin 15 MIT 1 3 1 Updated Dec 20, 2024
  • tree-sitter-rust Public

    Rust grammar for tree-sitter

    tree-sitter/tree-sitter-rust’s past year of commit activity
    JavaScript 366 MIT 103 12 5 Updated Dec 19, 2024
  • tree-sitter-scala Public

    Scala grammar for tree-sitter

    tree-sitter/tree-sitter-scala’s past year of commit activity
    JavaScript 159 MIT 55 24 (2 issues need help) 6 Updated Dec 17, 2024
  • tree-sitter-c Public

    C grammar for tree-sitter

    tree-sitter/tree-sitter-c’s past year of commit activity
    JavaScript 252 MIT 110 26 4 Updated Dec 15, 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 3 MIT 0 0 0 Updated Dec 14, 2024