Decision Workspace
c3 vs syn-solidity vs ast-grep-core
Side-by-side comparison of Rust crates
45
c3
growingv0.11.2
Complete C AST. Enables analysis and generation of code derived from C. Built using LLVM 4/Clang using some fragile C++ APIs to work around missing data and ambiguities in libclang.
75
syn-solidity
stablev1.5.7
syn-powered Solidity parser
69
ast-grep-core
growingv0.42.0
Search and Rewrite code at large scale using precise AST pattern
Core Metrics
| c3 | syn-solidity | ast-grep-core | |
|---|---|---|---|
| Health Score | 45 | 75 | 69 |
| Total Downloads | 24.5K | 14.1M | 1.0M |
| 30d Downloads | 36 | 1.3M | 366.2K |
| Dependents | 4 | 165 | 1.1K |
| Releases | 13 | 72 | 172 |
| Last Updated | 888d ago | 37d ago | 12d ago |
| Age | 8y 7m | 2y 9m | 3y 8m |
Health Breakdown
c3
Maintenance
4
Quality
15
Community
8
Popularity
5
Documentation
13
syn-solidity
Maintenance
18
Quality
20
Community
17
Popularity
8
Documentation
12
ast-grep-core
Maintenance
19
Quality
14
Community
14
Popularity
7
Documentation
15
Technical Details
| c3 | syn-solidity | ast-grep-core | |
|---|---|---|---|
| Version | 0.11.2 | 1.5.7 | 0.42.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | NCSA AND BSD-3-Clause | MIT OR Apache-2.0 | MIT |
| Dependencies | 2 | 5 | 5 |
| Crate Size | 31KB | 63KB | 45KB |
| Features | 0 | 2 | 1 |
| Yanked % | 0.0% | 0.0% | 0.6% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | 1.85 | 1.79 |
| Owners | 1 | 2 (team) | 1 |
Links
Quick Verdict
- •syn-solidity leads with a health score of 75/100, but none of the options score above 80.
- •ast-grep-core is depended on by 1.1K crates — strongest ecosystem trust.
- •⚠ c3 has not been updated in over a year.
- •c3, ast-grep-core are pre-1.0 — API may change.