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 930 109

  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 387 143

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

    Javascript grammar for tree-sitter

    JavaScript 373 119

Repositories

Showing 10 of 55 repositories
  • 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 1 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 Public

    An incremental parsing system for programming tools

    tree-sitter/tree-sitter’s past year of commit activity
    Rust 19,092 MIT 1,536 194 14 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 111 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 30 MIT 8 3 (2 issues need help) 5 Updated Dec 27, 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 27, 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 27, 2024
  • tree-sitter-python Public

    Python grammar for tree-sitter

    tree-sitter/tree-sitter-python’s past year of commit activity
    JavaScript 387 MIT 143 7 (1 issue needs help) 2 Updated Dec 22, 2024
  • tree-sitter-regex Public

    Tree-sitter parser for regular expressions

    tree-sitter/tree-sitter-regex’s past year of commit activity
    JavaScript 74 MIT 23 0 0 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

Top languages

Loading…

Most used topics

Loading…