Path to this page:
./
devel/ast-grep,
CLI tool for code structural search, lint, and rewriting
Branch: CURRENT,
Version: 0.34.3,
Package name: ast-grep-0.34.3,
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: 850.906 KB
Version history: (Expand)
- (2025-01-30) Updated to version: ast-grep-0.34.3
- (2025-01-26) Updated to version: ast-grep-0.34.1
- (2025-01-13) Updated to version: ast-grep-0.33.1
- (2025-01-05) Updated to version: ast-grep-0.33.0
- (2024-12-30) Updated to version: ast-grep-0.32.3
- (2024-12-19) Updated to version: ast-grep-0.32.2
CVS history: (Expand)
2025-01-29 22:41:53 by pin | Files touched by this commit (3) | |
Log message:
devel/ast-grep: update to 0.34.3
0.34.3
fix: fix binary command again 2c9034c
0.34.2
fix: fix binary name for npm #1773
fix: do not publich napi 553f5e5
|
2025-01-26 08:24:51 by pin | Files touched by this commit (3) | |
Log message:
devel/ast-grep: update to 0.34.1
0.34.1
fix: fix windows error 4e48c9f
0.34.0
feat: support cargo binstall #1744
feat: add tracing of resolved configuration file path #1755
fix: report error in run with wrong yaml #1768
Breaking change: feat: reduce napi binary size #1759
feat: compile sg as an alias of ast-grep #1757
doc: update readme #574
fix: remove sequel #1743
Breaking change: feat: remove nonsupported language e5a0a55
feat: use macro to simplify code d762257
fix(deps): update dependency @babel/core to v7.26.7 5944dbf
|
2025-01-13 21:26:14 by pin | Files touched by this commit (3) | |
Log message:
devel/ast-grep: update to 0.33.1
feat: Support passing rule config to SgNode match methods (matches, has, \
inside, follows, precedes) #1730
chore(deps): update dependency @ast-grep/napi to v0.33.0 61f7177
fix(deps): update dependency typescript to v5.7.3 85a7204
fix(deps): update dependency tree-sitter to v0.22.4 ec70763
|
2025-01-05 15:47:26 by pin | Files touched by this commit (3) | |
Log message:
devel/ast-grep: update to 0.33.0
Breaking change: refactor: move pyo3 registration to CustomLang 4ddb08f
feat: introduce napi_lang for dynamic loading 1a8d782
chore(deps): update dependency @ast-grep/napi to v0.32.3 713244f
|
2024-12-30 12:59:14 by pin | Files touched by this commit (3) | |
Log message:
devel/ast-grep: update to 0.32.3
feat: print fixed rules count #1708
fix: move unused suppressions to config crate #1624
fix: allow malformed pattern to be dumped as tree #804
fix: fix files not recognize in lsp #1691
fix: fix crash when internal node has no child #1688
feat: use mutable self in Printer trait 5e3835a
feat: reduce binary size by remove Printer polymorphism 8b735cf
feat: resolve rule id for ScanResult 9a7f3cc
|
2024-12-19 10:42:45 by pin | Files touched by this commit (3) | |
Log message:
devel/ast-grep: update to 0.32.2
fix: linting 10f3e74
feat: distinguish manual type annotation 4558c48
feat: add ChildTypes helper 0d477e9
|
2024-12-17 20:55:16 by pin | Files touched by this commit (3) | |
Log message:
devel/ast-grep: update to 0.32.1
0.32.1
fix(deps): update rust crate clap_complete to v4.5.39 6ad3c7b
fix: add npmignore to suppress gitignore 11bb8e4
0.32.0
feat: Add fieldChildren method to napi's SgNode and pyo3's PyNode #1655
Breaking change: fix: rename range rule's row to line #1663
fix: add biome formatting 5a41f13
feat(napi): Typed SgNode and SgRoot 55e65f3
fix: Use ts-node and versioned node-types URLs instead of heads dcb7916
|
2024-12-11 10:49:03 by pin | Files touched by this commit (3) | |
Log message:
devel/ast-grep: update to 0.31.1
feat: update tree-sitter dependency to 0.24.4 91a2b46
fix(deps): update dependency @swc/core to v1.10.0 526648b
fix: fix new clippy error ebfcbcd
|