tree-sitter

An incremental parsing system for programming tools (by tree-sitter)

Tree-sitter Alternatives

Similar projects and alternatives to tree-sitter

  1. Visual Studio Code

    Visual Studio Code

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. neovim

    1,428 tree-sitter VS neovim

    Vim-fork focused on extensibility and usability

  4. vscodium

    binary releases of VS Code without MS branding/telemetry/licensing

  5. nvim-lspconfig

    Quickstart configs for Nvim LSP

  6. helix

    A post-modern modal text editor.

  7. telescope.nvim

    Find, Filter, Preview, Pick. All lua, all the time.

  8. nvim-treesitter

    310 tree-sitter VS nvim-treesitter

    Nvim Treesitter configurations and abstraction layer

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. nvim-cmp

    A completion plugin for neovim coded in Lua.

  11. packer.nvim

    A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config

  12. nvim-tree.lua

    A file explorer tree for neovim written in lua

  13. delta

    100 tree-sitter VS delta

    A syntax-highlighting pager for git, diff, grep, and blame output

  14. gitsigns.nvim

    Git integration for buffers

  15. difftastic

    a structural diff that understands syntax 🟥🟩

  16. lualine.nvim

    A blazing fast and easy to configure neovim statusline plugin written in pure lua.

  17. Comment.nvim

    :brain: :muscle: // Smart and powerful comment plugin for neovim. Supports treesitter, dot repeat, left-right/up-down motions, hooks, and more

  18. TextMate

    37 tree-sitter VS TextMate

    TextMate is a graphical text editor for macOS 10.12 or later

  19. elisp-tree-sitter

    Emacs Lisp bindings for tree-sitter

  20. PHP Parser

    A PHP parser written in PHP

  21. tree-sitter-markdown

    Markdown grammar for tree-sitter

  22. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better tree-sitter alternative or higher similarity.

tree-sitter discussion

Log in or Post with

tree-sitter reviews and mentions

Posts with mentions or reviews of tree-sitter. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-05-06.
  • Decoding Tree-sitter Playground Output For Fun
    1 project | dev.to | 9 May 2025
    Paste this into the Playground (try it here). You’ll get something like:
  • Diving into Tree-Sitter: Parsing Code with Python Like a Pro
    2 projects | dev.to | 6 May 2025
    This code sets up a parser for Python code. The tree-sitter-python package provides a precompiled grammar, so no manual compilation is needed. If you’re targeting another language, check for its grammar package on Tree-Sitter Wiki.
  • Making Sense of tree-sitter's C API
    1 project | dev.to | 5 May 2025
    The API is defined in tree_sitter/api.h (available on GitHub). It revolves around a few key concepts: parsers, trees, nodes, and queries. Let’s dive into the essentials.
  • Want AI to Actually Understand Your Code? This Tool Says It Can Help
    2 projects | dev.to | 23 Mar 2025
    Tree-sitter is a parser generator tool and an incremental parsing library, it is available in Rust 🦀 - GitHub. CocoIndex has built-in Rust integration with Tree-sitter to efficiently parse code and extract syntax trees for various programming languages.
  • Emacs Tree-sitter custom highlighting
    2 projects | news.ycombinator.com | 2 Mar 2025
    I think the main problem is that highligthing framework used by tree-sitter (https://github.com/tree-sitter/tree-sitter/tree/master/highl...) is not easily pluggable into emacs font-lock-mode.
  • Highlighting Parts of Lua as Bash
    1 project | news.ycombinator.com | 28 Jan 2025
    Although I am not certain if tree-sitter allows matching on comments, but https://github.com/tree-sitter/tree-sitter/issues/1138 seems to imply that it does
  • I wrote my own "proper" programming language
    3 projects | news.ycombinator.com | 24 Jan 2025
    Hard agree. Even without going deep on a "serious language" there's a universe of DSLs that's mostly unexplored.

    Debuggers are the outlier in your group but there's not exactly a void for those other wishes. As just one slice, building a tree-sitter [1] grammar gives the basis for good editor integration [2], formatters [3], structural diff [4] and other dev tools. Similarly if you're expressing some form of program, mapping to LLVM IR connects your creation with a fairly extensive compiler toolchain.

    Language agnostic tooling exists, but there still needs to be some abstraction layer.

    [1]: https://tree-sitter.github.io/

    [2]: https://zed.dev/blog/syntax-aware-editing

    [3]: https://topiary.tweag.io

    [4]: https://difftastic.wilfred.me.uk

  • Tbsp – treesitter-based source processing language
    6 projects | news.ycombinator.com | 1 Sep 2024
    For those that want to explore the grammars listed at https://github.com/tree-sitter/tree-sitter/wiki/List-of-pars... in a more friendly railroad diagram format I made https://mingodad.github.io/plgh/json2ebnf.html that reads the "src/grammar.json" and try it's best to generate an EBNF understood by (IPV6) https://www.bottlecaps.de/rr/ui or (IPV4) https://rr.red-dove.com/ui where we get a nice navigable railroad diagram (see https://github.com/GuntherRademacher/rr for offline usage).
  • Pragtical: The practical and pragmatic code editor
    8 projects | news.ycombinator.com | 20 Aug 2024
    https://github.com/pragtical/plugins/commit/54096a6461f5c034... makes me long for The One Grammar To Rule Them ™

    I thought for a while that TextMate bundles[1] were that, especially since JetBrains[2], Linguist[3] and VSCode[4] honor them. However, in the spirit of "the good thing about standards ..." highlight.js does[5] almost the same thing that Pragtical does which makes me feel even worse

    I had high hopes for Tree-Sitter since it seems to have really won mindshare, but the idea of having an executable grammar spec[6] is ... well, no wonder it hasn't caught on outside of that specific ecosystem

    1: https://github.com/rspec/rspec.tmbundle/blob/1.1.12/Syntaxes...

    2: https://github.com/JetBrains/intellij-community/blob/idea/24...

    3: https://github.com/github-linguist/linguist/blob/v7.30.0/lib...

    4: https://github.com/microsoft/vscode-textmate

    5: https://github.com/highlightjs/highlight.js/blob/11.10.0/src...

    6: https://github.com/tree-sitter/tree-sitter/blob/v0.22.6/test...

  • Rust for Filesystems
    4 projects | news.ycombinator.com | 15 Jul 2024
    If you like to see some examples of C bindings:

    https://github.com/tree-sitter/tree-sitter/blob/25c718918084...

  • A note from our sponsor - SaaSHub
    www.saashub.com | 18 May 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic tree-sitter repo stats
72
20,605
9.8
6 days ago

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com