devel/ast-grep - The NetBSD Packages Collection

CLI tool for code structural search, lint, and rewriting

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.

Build dependencies

lang/rust pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

(none)

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64ast-grep-0.20.0.tgz
NetBSD 10.0earmv7hfast-grep-0.20.0.tgz
NetBSD 10.0i386ast-grep-0.20.0.tgz
NetBSD 10.0x86_64ast-grep-0.20.0.tgz
NetBSD 9.0earmv7hfast-grep-0.20.0.tgz
NetBSD 9.0i386ast-grep-0.20.0.tgz
NetBSD 9.0x86_64ast-grep-0.20.0.tgz
NetBSD 9.3x86_64ast-grep-0.20.0.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.