Re:Mergiraf: a syntax-aware merge driver for Git
by herrington_d on Sunday November 10, 2024 @10:58PM
(#42104499)
Yes, ast-grep already has its own rule syntax [1]. But still parser performance and binary size are critical factors for a general tool.
For a tool I’m writing, the tree-sitter query language is a core piece of the puzzle as well. Once you only have JSON of the concrete syntax trees, you’re back to implementing a query language yourself. Not that OP needs it, but ast-grep might?