ast-grep (devel/ast-grep) Updated: 3 days, 4 hours ago Add to my watchlist

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.

Version: 0.21.3 License: MIT GitHub
Maintainers herbygillot
Categories devel textproc
Homepage https://ast-grep.github.io/
Platforms darwin
Variants
  • universal (Build for multiple architectures)

"ast-grep" depends on

lib (1)
build (4)

Ports that depend on "ast-grep"

No ports


Port Health:

Loading Port Health

Installations (30 days)

0

Requested Installations (30 days)

0

Livecheck results

ast-grep seems to have been updated (port version: 0.21.3, new version: 0.21.4)

livecheck ran: 1 day, 3 hours ago