grep-ast
JSON →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.
Traffic · last 30 days ↓25% vs prev 7d
total hits 11
actors 6 distinct systems
last hit 2d ago Bingbot
top countries 🇺🇸 United States · 🇳🇴 Norway · 🇩🇪 Germany · 🇮🇳 India · 🇨🇦 Canada