Decision Workspace
compactp_ast vs compactp_syntax vs php-ast
Side-by-side comparison of Rust crates
49
compactp_ast
experimentalv0.1.0-beta.1
Typed AST wrappers over the lossless Compact CST produced by compactp_parser.
50
compactp_syntax
experimentalv0.1.0-beta.1
Shared syntax-tree types (SyntaxKind, rowan aliases) for the compactp Compact parser frontend.
62
php-ast
experimentalv0.21.0
PHP Abstract Syntax Tree (AST) node definitions
Core Metrics
| compactp_ast | compactp_syntax | php-ast | |
|---|---|---|---|
| Health Score | 49 | 50 | 62 |
| Total Downloads | 1.0K | 1.2K | 9.9K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 23 | 27 | 364 |
| Releases | 1 | 1 | 44 |
| Last Updated | 130d ago | 130d ago | 10d ago |
| Age | 4m | 4m | 6m |
Health Breakdown
compactp_ast
Maintenance
7
Quality
13
Community
10
Popularity
4
Documentation
15
compactp_syntax
Maintenance
7
Quality
14
Community
10
Popularity
4
Documentation
15
php-ast
Maintenance
18
Quality
14
Community
13
Popularity
5
Documentation
12
Technical Details
| compactp_ast | compactp_syntax | php-ast | |
|---|---|---|---|
| Version | 0.1.0-beta.1 | 0.1.0-beta.1 | 0.21.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | BSD-3-Clause |
| Dependencies | 4 | 1 | 3 |
| Crate Size | 17KB | 7KB | 70KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | 1.90 | 1.90 | 1.88 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •php-ast leads with a health score of 62/100, but none of the options score above 80.
- •php-ast is depended on by 364 crates — strongest ecosystem trust.