Path to this page:
Subject: CVS commit: pkgsrc/devel/ast-grep
From: pin
Date: 2024-01-13 20:30:50
Message id: 20240113193050.D823BFA42@cvs.NetBSD.org
Log Message:
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.
Files: