ast-grep is a structural code search tool that leverages syntax trees to find patterns in source code. But it was hard to extract a sub-language embedded inside a document.
ast-grep now supports a feature to handle language injection, allowing you to search for code written in one lanuage within documents of another language.
1 comment
[ 4.5 ms ] story [ 14.5 ms ] threadast-grep now supports a feature to handle language injection, allowing you to search for code written in one lanuage within documents of another language.