Skip to content
@tree-sitter-grammars

Tree-sitter Grammars

Collection of tree-sitter grammars

Tree-Sitter-Grammars

Hey and welcome to the Tree-Sitter-Grammars organization! This org contains a well-maintained bundle of grammar repositories for any downstream users to easily find a grammar they're interested in.

Chat

If you'd like to chat about tree-sitter, you can do so on Matrix or Discord.

Contributing

If you want to create a grammar, or have already made one that you'd like to contribute, please read the guidelines and create a discussion here when your grammar is ready.

Important

We are not accepting new third-party grammar contributions at this time. Please wait for this notice to be removed before requesting one.

Pinned Loading

  1. template Public template

    Tree-sitter parser template

    14 4

  2. .github Public

    Central organization of well-maintained tree-sitter grammars

    2 3

  3. tree-sitter-query Public

    TS query grammar for tree-sitter

    JavaScript 63 15

  4. tree-sitter-test Public

    TS corpus test grammar for tree-sitter

    Lua 6 1

  5. tree-sitter-markdown Public

    Markdown grammar for tree-sitter

    C 453 64

  6. tree-sitter-lua Public

    Lua grammar for tree-sitter

    JavaScript 72 24

Repositories

Showing 10 of 82 repositories
  • tree-sitter-meson Public

    Meson grammar for tree-sitter

    JavaScript 6 MIT 1 3 0 Updated Mar 19, 2025
  • tree-sitter-query Public

    TS query grammar for tree-sitter

    JavaScript 63 Apache-2.0 15 0 0 Updated Mar 18, 2025
  • tree-sitter-glsl Public

    GLSL grammar for tree-sitter

    JavaScript 39 MIT 10 1 1 Updated Mar 16, 2025
  • tree-sitter-cuda Public

    CUDA grammar for tree-sitter

    Makefile 27 MIT 4 0 0 Updated Mar 16, 2025
  • tree-sitter-commonlisp Public

    Common Lisp grammar for tree-sitter

    JavaScript 52 MIT 6 2 0 Updated Mar 16, 2025
  • tree-sitter-xml Public

    XML & DTD grammars for tree-sitter

    C 32 MIT 11 1 1 Updated Mar 15, 2025
  • tree-sitter-requirements Public

    pip requirements grammar for tree-sitter

    JavaScript 5 MIT 1 2 0 Updated Mar 3, 2025
  • tree-sitter-poe-filter Public

    PoE item filter grammar for tree-sitter

    JavaScript 2 MIT 0 1 (1 issue needs help) 1 Updated Feb 23, 2025
  • tree-sitter-printf Public Forked from pstuifzand/tree-sitter-printf

    printf format grammar for tree-sitter

    JavaScript 3 ISC 3 1 (1 issue needs help) 0 Updated Feb 8, 2025
  • tree-sitter-objc Public

    Objective-C grammar for tree-sitter

    JavaScript 21 MIT 4 1 0 Updated Jan 31, 2025