100% Transpilation Convergence
Depyler achieves perfect single-shot compile rate on all evaluation corpora — every Python file transpiles to Rust that compiles on the first attempt.
| Corpus | Compile Rate | Files |
|---|---|---|
| hard_wave3 | 100% | 100/100 |
| Semantic tests | 100% | 178/178 |
| Internal corpus | 97.4% | 1,374/1,410 |
351 commits of sustained convergence engineering since v3.25.0.
Highlights
Architecture: Workspace Crate Extraction
Extracted 4 new crates from depyler-core for better modularity:
- depyler-hir — HIR types, error types, decision trace
- depyler-lambda — Lambda codegen, errors, inference, optimizer, testing, types
- depyler-analysis — Type analysis, borrowing, inference, optimization, container element inference
- depyler-tooling — Chaos, debug, doctest, documentation, hunt mode, IDE, infrastructure, library mapping
Container Element Type Inference
New inference pass resolves DepylerValue for unparameterized generics:
def f(numbers: list)now infersVec<i32>from usage patterns (e.g.,n > 0in loop body)- Covers for-loop element usage,
.append()arguments,sum()/max()/join()builtins, dict value assignment
Code Quality
- Refactored
convert_method_callcognitive complexity from 101 → ~25 - 1,469 workspace tests passing (0 failures)
- Removed hardcoded version constraints from all internal path dependencies
Install
cargo install depylerFull Changelog
See CHANGELOG.md for details.