Path to this page:
NOTICE: This package has been removed from pkgsrc./
wip/ast-grep,
CLI tool for code structural search, lint, and rewriting
Branch: CURRENT,
Version: 0.17.1,
Package name: ast-grep-0.17.1,
Maintainer: pkgsrc-usersast-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.
Master sites:
Filesize: 786.054 KB
Version history: (Expand)
- (2024-01-14) Package deleted from pkgsrc
- (2024-01-13) Updated to version: ast-grep-0.17.1
- (2024-01-12) Updated to version: ast-grep-0.17.0
- (2024-01-07) Updated to version: ast-grep-0.16.1
- (2023-12-31) Updated to version: ast-grep-0.16.0
- (2023-12-18) Updated to version: ast-grep-0.15.0