
ast-grep
7.0#3 in code search toolsFree planFree planWebAPIExtensionLinux
Visit
| Fact | ast-grep | PolyglotPiranha |
|---|---|---|
| Integrations | The documentation describes editor integrations, including a VS Code extension and language server support for editors such as Vim and Neovim. | The Python wrapper is described as suitable for incorporation into pipelines; the documentation does not name specific CI or feature flag vendor integrations. |
| Languages | The project says it supports 20+ languages and allows custom languages to be loaded. | The CLI lists Java, Swift, Python, Kotlin, Go, TSX, and TypeScript as target languages. |
| Purpose | ast-grep is a fast, polyglot tool for structural code search, linting, and rewriting at scale. | Polyglot Piranha is a multilingual structural search and replace engine that applies chains of interdependent rules for code cleanup. |
| Support | The project directs users with questions or issues to GitHub or Discord and also points to Stack Overflow and Reddit. | Users with questions or bug reports are directed to open a GitHub issue. |
No prices published.
It suits developers who need syntax-aware search, linting, or bulk code changes across supported languages. Teams wanting advanced static-analysis information or one rule spanning multiple languages should note its stated limits.
PolyglotPiranha suits developers who need repeatable structural code cleanup, especially for stale feature-flag code. Teams can also incorporate its Python API into pipelines.