Skip to content

Depyler v4.1.0: 100% Convergence Milestone

Latest

Choose a tag to compare

@noahgift noahgift released this 12 Feb 17:36
· 22 commits to main since this release

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 infers Vec<i32> from usage patterns (e.g., n > 0 in loop body)
  • Covers for-loop element usage, .append() arguments, sum()/max()/join() builtins, dict value assignment

Code Quality

  • Refactored convert_method_call cognitive complexity from 101 → ~25
  • 1,469 workspace tests passing (0 failures)
  • Removed hardcoded version constraints from all internal path dependencies

Install

cargo install depyler

Full Changelog

See CHANGELOG.md for details.