VIBE
← Back to Leaderboard
Developer ToolsTOOL
Developer ToolsOpen SourceTOOL1h ago14.9k

About

ast-grep is a fast, polyglot CLI tool for structural code search, linting, and rewriting based on abstract syntax trees (AST). Unlike text-based grep, it understands code syntax, letting you find and transform patterns across thousands of files using intuitive code-like patterns. It supports 20+ languages and can be used as a CLI, a Node.js library, or integrated into linting workflows.

Why it made the leaderboard

If you've ever tried to find all call sites of a function across a polyglot codebase using regex and gotten false positives from string literals or comments, ast-grep solves that by matching code structure instead of text. Your search patterns look like actual code — no DSL to learn — and it runs across millions of lines in seconds thanks to Rust and multi-core parallelism.

Tags

astcode-searchrefactoringcodemodlinterrusttree-sitterstatic-analysis

Tech Stack

PythonRust

Comments

No comments yet.