4 ms·
One obvious example would be refactoring. Many patterns are not (easily) expressible as regexes.
by Hendrikto 3y ago
One obvious example would be refactoring. Many patterns are not (easily) expressible as regexes.
- eddd-ddde 3y agoThere is also ast grep [0] 0: https://ast-grep.github.io/guide/introduction.html https://ast-grep.github.io/guide/introduction.html
- giancarlostoro 3y agoAh so this is useful for IDE tooling and I guess someone grokking to see how much impact a change has, yeah makes sense.
- yodsanklai 3y agoWouldn't you use tools like clang-tidy for that use case? wouldn't it be more flexible and general? Also does this project let you rewrite code or only run queries?