Hacker GitHub

← All repos

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

Mentions per year 11 mentions · busiest year 2024 (8)
20082026
  1. …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
  2. …[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
  3. https://github.com/getgrit/gritql is the best large-scale codemod / refactoring tool I've ever used.
  4. …query: language python `def $_($_): $_` as $func where $func <: contains `database` => `db` [0] https://github.com/getgrit/gritql
  5. …your transformation engine. [0] https://slack.engineering/balancing-old-tricks-with-new-feat... [1] https://github.com/getgrit/gritql
  6. …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
  7. …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...
  8. …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
  9. …Yours is definitely closer to SQL than GritQL is.[0] I particularly like the count semantics. [0] https://github.com/getgrit/gritql
  10. 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.
  11. ▲ 280
    Show HN: GritQL, a Rust CLI for rewriting source code
    story by morgante · 2024-03-20 · 54 comments