Preparing for system design interviews?  Try bugzed.com →

grep-ast

JSON →
library 0.9.0 ·python
verified Apr 11, 2026

grep-ast is a command-line tool designed to search through the Abstract Syntax Tree (AST) of source code files. Unlike traditional `grep` which operates on text, `grep-ast` provides a context-aware output, showing how matching lines fit into the broader code structure (functions, classes, etc.). It leverages `tree-sitter` and `tree-sitter-languages` for parsing various programming languages. The current version is 0.9.0, released in May 2025.

total hits 10
actors 4 distinct systems
last hit 4d ago AhrefsBot
GPTBot
3
Script
1
Search engines
1
Humans
1

top countries 🇺🇸 United States · 🇬🇧 United Kingdom · 🇨🇦 Canada · 🇩🇪 Germany · VN