Product upvotes vs the next 3

Waiting for data. Loading

Product comments vs the next 3

Waiting for data. Loading

Product upvote speed vs the next 3

Waiting for data. Loading

Product upvotes and comments

Waiting for data. Loading

Product vs the next 3

Loading

ast-grep

A polyglot tool for code searching, linting, rewriting

ast-grep(sg) is a fast and polyglot tool for code searching, linting, and rewriting at large scale. Think it as a hybrid of grep, eslint, and codemod. But for all programming languages with super fast running speed!

Top comment

Hi everyone, I’m the maker of ast-grep, a polyglot tool for code searching, linting, and rewriting at large scale. ast-grep is fast and easy to use. You can write patterns as if you are writing ordinary code, and use them to search, lint, or rewrite code across thousands of files. You can also use YAML configuration to write custom rules for your own needs. ast-grep supports multiple languages and has a beautiful command line interface. It is written in Rust and powered by tree-sitter. ast-grep also has a fancy playground where you can try out the tool and write rules online. You can find it here: https://ast-grep.github.io/playg.... I hope you find ast-grep useful and fun to use. I would love to hear your feedback and questions. Thank you for checking out my project!

About ast-grep on Product Hunt

A polyglot tool for code searching, linting, rewriting

ast-grep launched on Product Hunt on May 11th, 2023 and earned 66 upvotes and 4 comments, placing #51 on the daily leaderboard. ast-grep(sg) is a fast and polyglot tool for code searching, linting, and rewriting at large scale. Think it as a hybrid of grep, eslint, and codemod. But for all programming languages with super fast running speed!

On the analytics side, ast-grep competes within Productivity, Developer Tools and Tech — topics that collectively have 1.8M followers on Product Hunt. The dashboard above tracks how ast-grep performed against the three products that launched closest to it on the same day.

Who hunted ast-grep?

ast-grep was hunted by Herrington Darkholme. A “hunter” on Product Hunt is the community member who submits a product to the platform — uploading the images, the link, and tagging the makers behind it. Hunters typically write the first comment explaining why a product is worth attention, and their followers are notified the moment they post. Around 79% of featured launches on Product Hunt are self-hunted by their makers, but a well-known hunter still acts as a signal of quality to the rest of the community. See the full all-time top hunters leaderboard to discover who is shaping the Product Hunt ecosystem.

Reviews

ast-grep has received 2 reviews on Product Hunt with an average rating of 5.00/5. Read all reviews on Product Hunt.

For a complete overview of ast-grep including community comment highlights and product details, visit the product overview.