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 template Public template

    Tree-sitter parser template

    21 4

  2. .github .github Public

    Central organization of well-maintained tree-sitter grammars

    3 3

  3. tree-sitter-query tree-sitter-query Public

    TS query grammar for tree-sitter

    JavaScript 74 17

  4. tree-sitter-test tree-sitter-test Public

    TS corpus test grammar for tree-sitter

    Lua 10 1

  5. tree-sitter-markdown tree-sitter-markdown Public

    Markdown grammar for tree-sitter

    C 552 110

  6. tree-sitter-lua tree-sitter-lua Public

    Lua grammar for tree-sitter

    JavaScript 94 38

Repositories

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

    Meson grammar for tree-sitter

    tree-sitter-grammars/tree-sitter-meson’s past year of commit activity
    JavaScript 8 MIT 1 3 1 Updated Feb 11, 2026
  • tree-sitter-markdown Public

    Markdown grammar for tree-sitter

    tree-sitter-grammars/tree-sitter-markdown’s past year of commit activity
    C 552 MIT 110 48 6 Updated Feb 1, 2026
  • tree-sitter-yaml Public Forked from ikatyang/tree-sitter-yaml

    YAML grammar for tree-sitter

    tree-sitter-grammars/tree-sitter-yaml’s past year of commit activity
    C 43 MIT 72 7 (4 issues need help) 2 Updated Jan 25, 2026
  • tree-sitter-vue Public Forked from ikatyang/tree-sitter-vue

    Vue.js grammar for tree-sitter

    tree-sitter-grammars/tree-sitter-vue’s past year of commit activity
    Tree-sitter Query 23 MIT 42 1 4 Updated Jan 24, 2026
  • tree-sitter-vim Public Forked from vigoux/tree-sitter-viml

    Vimscript grammar for tree-sitter

    tree-sitter-grammars/tree-sitter-vim’s past year of commit activity
    JavaScript 35 MIT 33 5 2 Updated Jan 23, 2026
  • tree-sitter-lua Public

    Lua grammar for tree-sitter

    tree-sitter-grammars/tree-sitter-lua’s past year of commit activity
    JavaScript 94 MIT 38 4 0 Updated Jan 21, 2026
  • tree-sitter-xml Public

    XML & DTD grammars for tree-sitter

    tree-sitter-grammars/tree-sitter-xml’s past year of commit activity
    C 46 MIT 17 1 1 Updated Jan 21, 2026
  • tree-sitter-hcl Public

    HCL grammar for tree-sitter

    tree-sitter-grammars/tree-sitter-hcl’s past year of commit activity
    HCL 132 Apache-2.0 29 4 3 Updated Jan 17, 2026
  • tree-sitter-query Public

    TS query grammar for tree-sitter

    tree-sitter-grammars/tree-sitter-query’s past year of commit activity
    JavaScript 74 Apache-2.0 17 0 1 Updated Dec 31, 2025
  • template Public template

    Tree-sitter parser template

    tree-sitter-grammars/template’s past year of commit activity
    21 MIT 4 0 0 Updated Dec 21, 2025