Software Alternatives & Reviews
Table of contents
  1. Social Mentions
  2. Comments

ast-grep

⚡A polyglot tool for code searching, linting, rewriting!

ast-grep Reviews and details

Screenshots and images

  • ast-grep Landing page
    Landing page //
    2023-05-10

Badges

Promote ast-grep. You can add any of these badges on your website.
SaaSHub badge
Show embed code

Social recommendations and mentions

We have tracked the following product recommendations or mentions on various public social media platforms and blogs. They can help you see what people think about ast-grep and what they use it for.
  • An infinite canvas for code exploration
    It's unclear what the superpowers would be? Video doesn't show anything I can't do with an IDE or decent code editor, and there I also have refactoring tools, metadata like indicators for usages that can be used for navigating and so on. Reminds me of UML-like diagrams over relational databases, except that it's generated one piece at a time. In practice I generate diagrams showing cyclomatic complexity much more... - Source: Hacker News / 3 days ago
  • Migrate to React 19 with ast-grep
    This article illustrates the usage of ast-grep, a tool designed to locate and substitute patterns in your codebase, towards easing your migration to React 19. - Source: dev.to / 11 days ago
  • How I build a chatbot for my OSS project, for free, without code!
    Ast-grep is a command-line tool that lets you search and transform code written in many programming languages using abstract syntax trees (ASTs). ASTs are data structures that capture the syntactic and semantic structure of source code. With ast-grep, you can write patterns as if you are writing ordinary code, and it will match all code that has the same syntactical structure. And if you need more power, you can... - Source: dev.to / 4 months ago
  • SemanticDiff now supports Rust
    Is there an open source library that does this? Maybe something on top of ast-grep. Source: 5 months ago
  • Ripgrep 14 Released
    Thanks for the pointer. There are definitely a few tools that have explored the idea of searching the AST of code. Semgrep seems to do that, as does a tool called ast-grep [0]. Both of them are sort of doing the opposite of my tool. They are letting you specify your search as a chunk of code/AST. My tool let's you grep a regex as usual, but shows you the matches in a helpful AST aware way. [0]... - Source: Hacker News / 5 months ago
  • telescope-sg: a new way to do structural search in neovim
    Hi neovim subreddit! I'm the author of ast-grep, a tool for code structural search, lint, and rewriting based on syntax trees. Source: 9 months ago
  • Introducing ast-grep: A tool for structural searching and transforming code
    Are you tired of manually searching and modifying code? Do regular expressions and text-based tools fall short when it comes to complex syntax and nested structures? Look no further! In this blog post, I'm excited to introduce you to ast-grep, a powerful command-line tool designed to make structural searching and transforming of code a breeze using abstract syntax trees (ASTs). - Source: dev.to / 11 months ago
  • Setup default .eslintrc config in null-ls for eslint_d?
    I also use a global config, and my setup is a bit different - I always ignore the local coonfig and use the global config instead - but I recommend it. The project-local linting setup should always run anyway on pre-commit, so you're not loosing anything. This allows me to have a much more extensive linting setup, with more plugins and stricter rules, some which would slow you down on a laptop. I had to jump... Source: 11 months ago
  • What’s everyone working on this week (25/2023)?
    I'm working on ast-grep, a structural search/replace tool. I got few feedback and pull requests from the community for more language supports like tsx and cpp. Technically, it mainly involves Rust and wasm. Source: 11 months ago
  • Meet ast-grep: a Rust-based tool for code searching, linting, rewriting using AST
    The new homepage has a list of notable supported languages now! https://ast-grep.github.io/. Source: 12 months ago
  • Meet ast-grep: a Rust-based tool for code searching, linting, rewriting using AST
    Hey folks! I'm writing a tool like a hybrid of grep, eslint and codemod, for almost all tree-sitter compatile languages. The front page is https://ast-grep.github.io/. Source: 12 months ago

Do you know an article comparing ast-grep to other products?
Suggest a link to a post with product alternatives.

Suggest an article

ast-grep discussion

Log in or Post with

This is an informative page about ast-grep. You can review and discuss the product here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.