{"added":null,"apiVersion":1,"behindSince":"2026-10-11","buildDepends":[],"categories":["devel","textproc"],"comment":"CLI tool for code structural search, lint and rewriting","compare":"/compare/ast-grep/index.json","dependentCount":null,"description":"ast-grep is an abstract syntax tree based tool to search code by\npattern code. Think of it as your old-friend grep, but matching AST\nnodes instead of text. You can write patterns as if you are writing\nordinary code. It will match all code that has the same syntactical\nstructure. You can use $ sign + upper case letters as a wildcard,\ne.g. $MATCH, to match any single AST node. Think of it as regular\nexpression dot ., except it is not textual.","flavors":[],"html":"https://daemonports.org/dragonfly/textproc/ast-grep/","kind":"port","lastUpdate":null,"license":["MIT"],"licenses":["MIT"],"maintainer":"tagattie@FreeBSD.org","name":"ast-grep","newest":false,"newestVersion":"0.51.2","noVulnData":false,"origin":"textproc/ast-grep","otherSystems":[{"maintainer":"tagattie@FreeBSD.org","newest":true,"origin":"textproc/ast-grep","path":"/textproc/ast-grep/","system":"FreeBSD","updated":"2026-11-12","version":"0.51.2"},{"behindSince":"2026-10-11","maintainer":"pkgsrc-users@NetBSD.org","matchedBy":"name","origin":"devel/ast-grep","path":"/netbsd/devel/ast-grep/","system":"NetBSD","updated":"2026-11-03","version":"0.45.3"},{"behindSince":"2026-11-02","maintainer":"tagattie@FreeBSD.org","noVulnData":true,"origin":"textproc/ast-grep","path":"","system":"HardenedBSD","version":"0.51.0"},{"behindSince":"2026-11-02","maintainer":"tagattie@FreeBSD.org","noVulnData":true,"origin":"textproc/ast-grep","path":"","system":"GhostBSD","version":"0.51.0"}],"packages":null,"pkgName":"ast-grep-0.45.3_1","related":null,"repository":"DPorts","requiredBy":[],"requiredByCount":0,"runDepends":[],"status":null,"system":"dragonfly","systemLabel":"DragonFly","version":"0.45.3_1","versions":[{"date":"2026-11-11","version":"0.45.3"}],"vulnerabilities":null,"www":"https://ast-grep.github.io/"}
