This looks great, thanks for building and sharing it.
Interested folks may also want to check out ast-grep:
Interested folks may also want to check out ast-grep:
The main area GritQL shines is in taking simpler transformation patterns and composing them into complex migrations. For example, the OpenAI migration was built by incrementally handling the different edge cases we've seen in the wild: https://github.com/getgrit/stdlib/blob/main/.grit/patterns/p...
I've spent the last 6 months building a static analyzer that mostly uses ASTs and couldn't understand what you were offering after skimming the readme until I saw this link.
Now I'm thinking of how I could integrate something like this into my analyzer to simplify the implementation of some of the simpler rules.
Let me know if I can be helpful with integrating GritQL.