Tool

ast-grep

ast-grep is a fast, polyglot command-line and programmatic tool for structural code search, linting, and rewriting at scale. It matches code patterns against abstract syntax trees, allowing users to locate and modify code across thousands of files, run customized AST-based lint rules with structured error reporting, and use interactive codemods. It supports many programming languages, can load custom tree-sitter parsers, and provides Node.js bindings for programmatic syntax-tree traversal.

Visit site Mentioned in 1 video ↓

What ast-grep is used for

1 use taken from transcripts — each links to the moment in the video.

  • A language-agnostic linting/search tool the speaker praises for unifying tooling when writing custom lint rules.

Videos mentioning ast-grep

1 in the library.