Decision Workspace
formalang vs codegen-lang vs hir-lang
Side-by-side comparison of Rust crates
44
formalang
experimentalv0.0.16-beta
An embeddable compiler frontend for FormaLang: lexer, parser, semantic analysis and IR lowering.
63
codegen-lang
experimentalv1.0.1
Backend abstraction targeting LLVM, Cranelift, or bytecode.
53
hir-lang
experimentalv0.4.0
High-level IR for LexerSketch: the structured, typed-optional core every forged language lowers into.
Core Metrics
| formalang | codegen-lang | hir-lang | |
|---|---|---|---|
| Health Score | 44 | 63 | 53 |
| Total Downloads | 271 | 181 | 93 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 4 | 7 |
| Releases | 13 | 3 | 3 |
| Last Updated | 7d ago | 1d ago | 1d ago |
| Age | 5m | 3m | 1d |
Health Breakdown
formalang
Maintenance
19
Quality
6
Community
6
Popularity
3
Documentation
10
codegen-lang
Maintenance
19
Quality
18
Community
8
Popularity
3
Documentation
15
hir-lang
Maintenance
14
Quality
14
Community
8
Popularity
2
Documentation
15
Technical Details
| formalang | codegen-lang | hir-lang | |
|---|---|---|---|
| Version | 0.0.16-beta | 1.0.1 | 0.4.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | non-standard | Apache-2.0 OR MIT | Apache-2.0 OR MIT |
| Dependencies | 14 | 6 | 4 |
| Crate Size | 594KB | 90KB | 249KB |
| Features | 2 | 3 | 2 |
| Yanked % | 92.3% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | 1.85 | 1.85 | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •codegen-lang leads with a health score of 63/100, but none of the options score above 80.
- •formalang has the most downloads (271), suggesting wider adoption.
- •formalang, hir-lang are pre-1.0 — API may change.