Sign in

Technology

AST-Grep

ast-grep is a fast, polyglot command-line tool for structural code search, linting, and rewriting at scale.

ast-grep (sg) is a powerful command-line interface (CLI) tool for code structural search, linting, and rewriting. It operates on Abstract Syntax Trees (ASTs) generated by Tree-sitter, allowing it to match code patterns based on syntax rather than just text. This enables precise code analysis and manipulation across various programming languages like C, Java, JavaScript, Python, and Rust. You can use ast-grep for tasks such as finding code smells, refactoring, enforcing coding standards, and even automating large-scale code migrations.

https://ast-grep.github.io/

What builders pair with AST-Grep

Projects using both technologies. Select a pairing to see a project.

Pairing: TypeScript

Photo from the event
Event photo

I Gave My Coding Agent ast-grep: 1,406 Invocations Later

Dublin · August 26, 2026

Recent Talks & Demos

Showing 1-2 of 2

Members-Only

Sign in to see who built these projects