ast-grep vs Source Insight
ast-grep
ast-grep.github.ioSource Insight
sourceinsight.comSide by side
| Figure | ast-grep | Source Insight |
|---|---|---|
| Price from | Free | $119/mo |
| Free plan | Yes | — |
| Free trial | — | Yes |
| Open source | — | — |
| Web | Yes | — |
| Windows | Yes | Yes |
| macOS | Yes | — |
| Linux | Yes | — |
| API | Yes | — |
| Plans published | 1 | 16 |
| Spec score · Code Search Tools | 9.1 (#1) | 7.7 (#18) |
| Integrations | The documentation describes editor integrations, including a VS Code extension and language server support for editors such as Vim and Neovim. | The feature summary says Source Insight integrates with external compilers and tools and can import symbols from external sources or assemblies. |
| Languages | The project says it supports 20+ languages and allows custom languages to be loaded. | The feature summary lists parsing support for C/C++, C#, Objective-C++, Java, and more. |
| Support | The project directs users with questions or issues to GitHub or Discord and also points to Stack Overflow and Reddit. | The maker lists technical support at [email protected] and provides a user guide, FAQs, and help articles. |
Plans
Source Insight
- Single User$239 a month
- 5 License PackPrice not published
- 10 License PackPrice not published
- 20 License PackPrice not published
- Single User Upgrade$119 a month
- 5 Pack Upgrade$575 a month
- 10 Pack UpgradePrice not published
- 20 Pack UpgradePrice not published
- Source Insight 4.0 Upgrade for Single User for Windows$119, paid once
- Source Insight 4.0 – Single User for Windows$239, paid once
In their own words
ast-grep
ast-grep is a free, open-source tool for structural code search, linting, and rewriting. It matches patterns against syntax-tree nodes, helping developers locate and change code across a codebase rather than searching plain text. Its CLI can preview and apply rewrites interactively, and scan configurable YAML rules with error, warning, info, or hint severity. Rules can combine pattern, kind, regex, relational, and composite conditions, and CLI commands help create and snapshot-test them. The project says it supports more than 20 languages and can load custom languages. JavaScript and WebAssembly APIs allow programmatic syntax-tree work; a browser playground offers a way to try patterns without local installation. Editor options include a VS Code extension and language-server setups, including for Vim and Neovim. The tool is free, has a web interface, and is distributed through package managers or built from source. Its FAQ notes that some advanced static-analysis information is unsupported, and one rule cannot target multiple languages at once.
Source Insight
Source Insight has no write-up on Specifiction yet; its figures are above.