{"library":"grep-ast","type":"library","category":null,"description":"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.","language":"python","status":"active","version":"0.9.0","tags":["AST","grep","code analysis","cli","tree-sitter","developer tool"],"last_verified":"Sat Apr 11","install":[{"cmd":"pip install grep-ast","imports":[]}],"homepage":null,"github":"https://github.com/paul-gauthier/grep-ast","docs":null,"changelog":null,"pypi":"https://pypi.org/project/grep-ast/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}