biomejs/gritql
View on GitHub ↗ ★ 4,621 Rust
GritQL is a query language for searching, linting, and modifying code.
11 mentions on Hacker News by 3 people: 1 story, 10 comments · first 2024-03-20 · latest 2025-08-19
20082026
-
…I still architected it so executions ran in a sandbox. It's the only safe way to analyze code. [1] https://github.com/getgrit/gritql
comment by morgante · 2025-08-19 · in How we exploited CodeRabbit: From simple PR to RCE and write access on 1M repos -
…[3] https://en.wikipedia.org/wiki/Smalltalk#Image-based_persiste... [4] https://github.com/getgrit/gritql
comment by photonthug · 2025-04-07 · in Glamorous Toolkit -
https://github.com/getgrit/gritql is the best large-scale codemod / refactoring tool I've ever used.
comment by transitivebs · 2025-01-11 · in Refactoring with Codemods to Automate API Changes -
…query: language python `def $_($_): $_` as $func where $func <: contains `database` => `db` [0] https://github.com/getgrit/gritql
comment by morgante · 2024-09-27 · in Refactoring Python with Tree-sitter and Jedi -
…your transformation engine. [0] https://slack.engineering/balancing-old-tricks-with-new-feat... [1] https://github.com/getgrit/gritql
comment by morgante · 2024-06-19 · in AI-powered conversion from Enzyme to React Testing Library -
…doesn't look like this is AST-aware at all. If you want to do queries that understand the grammar, https://github.com/getgrit/gritql is closer to what you're looking for. (Disclaimer: I'm the author.) Ex. here's how you would search for…
comment by morgante · 2024-05-24 · in Amber: A code search and replace tool -
…of contributing or makes substantial (visible) process on a PR I assign the bounty to them. [0] https://github.com/getgrit/gritql/issues?q=is%3Aopen+is%3Ais...
comment by morgante · 2024-05-03 · in Ask HN: I have been unable to land a job in two years, does anybody -
…you can get without indexing. Ex. I always assume we'll need to add an index to speed up GritQL ( https://github.com/getgrit/gritql ), but we've gotten pretty far with doing search entirely on the fly.
comment by morgante · 2024-04-10 · in Code search is hard -
…Yours is definitely closer to SQL than GritQL is.[0] I particularly like the count semantics. [0] https://github.com/getgrit/gritql
comment by morgante · 2024-04-07 · in ClangQL: A tool to run SQL-like query on C/C++ Code -
Yes, Grit does support embedded languages. Right now we support Vue syntax: https://github.com/getgrit/gritql/blob/4ff989e8d665cc9ffa2cb... We don't have support for HTML yet, but if you open an issue we're happy to explore it.
comment by morgante · 2024-03-21 · in Show HN: GritQL, a Rust CLI for rewriting source code -
▲ 280
Show HN: GritQL, a Rust CLI for rewriting source codestory by morgante · 2024-03-20 · 54 comments