tree-sitter-regex

Tree-sitter parser for regular expressions (by tree-sitter)

Tree-sitter-regex Alternatives

Similar projects and alternatives to tree-sitter-regex

  1. Roslyn

    The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.

  2. SaaSHub

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

    SaaSHub logo
  3. todo-comments.nvim

    ✅ Highlight, list and search todo comments in your projects

  4. Magic Python

    Cutting edge Python syntax highlighter for Sublime Text, Atom and Visual Studio Code. Used by GitHub to highlight your Python code!

  5. tree-sitter-python

    Python grammar for tree-sitter

  6. tree-sitter-bash

    Bash grammar for tree-sitter

  7. tree-sitter-comment

    Tree-sitter grammar for comment tags like TODO, FIXME(user).

  8. tree-sitter-yaml

    YAML grammar for tree-sitter (by tree-sitter-grammars)

  9. tree-sitter-javascript

    Javascript grammar for tree-sitter

  10. tree-sitter-go

    Go grammar for tree-sitter

  11. tree-sitter-language-pack

    Comprehensive tree-sitter grammar compilation with polyglot bindings — Rust, Python, Node.js, Go, Java, Ruby, Elixir, PHP, C#, WASM, Dart, Kotlin-Android, Swift, Zig, and CLI. 306+ languages.

  12. tree-sitter-typescript

    TypeScript grammar for tree-sitter

  13. tree-sitter-jsdoc

    JSDoc grammar for Tree-sitter

  14. tree-sitter-rust

    Rust grammar for tree-sitter

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-regex alternative or higher similarity.

tree-sitter-regex discussion

Log in or Post with

tree-sitter-regex reviews and mentions

Posts with mentions or reviews of tree-sitter-regex. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2026-01-22.
  • Tree-sitter vs. Language Servers
    9 projects | news.ycombinator.com | 22 Jan 2026
    > It is possible to use the language server for syntax highlighting. I am not aware of any particularly strong reasons why one would want to (or not want to) do this.

    This is an area where TS excels. It also supports nesting of different languages so a query can inject other languages [0] and compose different parsers.

    As an example, this can be a straight forward as a simple comment parser [1], jsdoc [2], regex [3] etc. Or in more complex cases various DSLs. Each of these can then define their own injections too. When working with CI pipelines in particular it transforms an opaque wall of YAML into slightly more manageable CST which is incredible useful for both humans (syntax highlighting) and any machine parsing you may want to do.

    [0]: https://tree-sitter.github.io/tree-sitter/3-syntax-highlight...

    [1]: https://github.com/stsewd/tree-sitter-comment

    [2]: https://github.com/tree-sitter/tree-sitter-jsdoc

    [3]: https://github.com/tree-sitter/tree-sitter-regex

  • How can I colorize regular expression strings?
    3 projects | /r/neovim | 4 Apr 2023

Stats

Basic tree-sitter-regex repo stats
2
106
5.4
9 months ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com