Link [ pkgsrc | NetBSD | pkgsrc git mirror | PR fulltext-search | netbsd commit viewer ]


   
        usage: [branch:branch] [user:user] [path[@revision]] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN pkgtools/pkg)




switch to index mode

recent branches: MAIN (14m)  pkgsrc-2024Q1 (6d)  pkgsrc-2023Q4 (53d)  pkgsrc-2023Q2 (85d)  pkgsrc-2023Q3 (164d) 

2024-05-23 15:22:29 UTC Now

2024-01-13 19:30:50 UTC MAIN commitmail json YAML

devel/ast-grep: import package

Packaged by wiz@ in wip.

ast-grep(sg) is a CLI tool for code structural search, lint, and
rewriting.

ast-grep is a AST-based tool to search code by pattern code. Think it
as your old-friend grep but it matches AST nodes instead of text. You
can write patterns as if you are writing ordinary code. It will match
all code that has the same syntactical structure. You can use $ sign +
upper case letters as wildcard, e.g. $MATCH, to match any single AST
node. Think it as REGEX dot ., except it is not textual.

(pin)