Skip to content

Commit e27ef29

Browse files
fix: add gritql comparison
1 parent 2af3a7e commit e27ef29

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

website/advanced/tool-comparison.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,15 @@ IntelliJ Structural Search Replace is not a standalone tool, but a feature of th
7171

7272
**Cons**:
7373
* Currently, IntelliJ IDEA supports the structural search and replace for Java, Kotlin and Groovy.
74+
75+
## [GritQL](https://about.grit.io/)
76+
77+
[GritQL](https://docs.grit.io/language/overview) language is [Grit](https://docs.grit.io/)'s embedded query language for searching and transforming source code.
78+
79+
**Pros**:
80+
81+
* GritQL is generally more powerful. It has features like [clause](https://docs.grit.io/language/modifiers) from [logic programming language](https://en.wikipedia.org/wiki/Logic_programming#:~:text=A%20logic%20program%20is%20a,Programming%20(ASP)%20and%20Datalog.) and [operations](https://docs.grit.io/language/conditions#match-condition) from imperative programming languages.
82+
* It is used as [linter plugins](https://biomejs.dev/linter/plugins/) in [Biome](https://biomejs.dev/), a toolchain for JS ecosystem.
83+
84+
**Cons**:
85+
* Depending on different background, developers may find it harder to learn a multi-paradigm DSL.

0 commit comments

Comments
 (0)