Decision Workspace
cobc-oracle-rs vs gnucobol-rs vs test-lang
Side-by-side comparison of Rust crates
Drives the GnuCOBOL cobc compiler as an oracle: builds/runs COBOL fixtures and captures deterministic, canonical-JSON receipts (oracle identity, stdout/stderr/exit, source/generated-C/binary sha256). GPL-3.0+ tooling for the gnucobol-rs compatibility court.
Faithful Rust port of GnuCOBOL packed-decimal (COMP-3), zoned, and display numeric byte semantics and the MOVE conversions between them, proven byte-identical against the GnuCOBOL 3.2 libcob oracle. Plus a PIC->field-model parser , DATA DIVISION record-layout engine, , COPY+REPLACING copybook expander, pure-Rust decimal arithmetic, VALUE initial-record images, PIC P-scaling, OCCURS DEPENDING ON physical-max layout, LEVEL-88 condition-name predicates, and SET-TO-TRUE byte construction. Not a compiler; not arithmetic.
Compiler snapshot test harness for tokens, ASTs, and errors.
Core Metrics
| cobc-oracle-rs | gnucobol-rs | test-lang | |
|---|---|---|---|
| Health Score | 46 | 58 | 54 |
| Total Downloads | 31 | 1.9K | 37 |
| 30d Downloads | 0 | 189 | 0 |
| Dependents | 0 | 23 | 0 |
| Releases | 2 | 112 | 2 |
| Last Updated | 36d ago | 20d ago | 12d ago |
| Age | 1m | 1m | 12d |
Health Breakdown
Technical Details
| cobc-oracle-rs | gnucobol-rs | test-lang | |
|---|---|---|---|
| Version | 0.0.2 | 0.8.50 | 1.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | GPL-3.0-or-later | LGPL-3.0-or-later | Apache-2.0 OR MIT |
| Dependencies | 0 | 1 | 3 |
| Crate Size | 20KB | 930KB | 56KB |
| Features | 0 | 2 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | 1.74 | 1.74 | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •gnucobol-rs leads with a health score of 58/100, but none of the options score above 80.
- •cobc-oracle-rs, gnucobol-rs are pre-1.0 — API may change.