GitHub - getgrit/gritql: GritQL is a query language for searching, linting, and modifying code.
GritQL is a declarative query language for searching and modifying source code.
📖 Start simply without learning AST details: any code snippet is a valid GritQL query
⚡️ Use Rust and query optimization to scale up to 10M+ line repositories
📦 Use Grit's built-in module system to reuse 200+ standard patterns or share your own
♻️ Once you learn GritQL, you can use it to rewrite any target language: JavaScript/TypeScript, Python, JSON, Java, Terraform, Solidity, CSS, Markdown, YAML, Rust, Go, or SQ...
Read more at github.com