Skip to content

Epic: Robust, fidelity-preserving transpilation engine #52

Description

@Tokarzewski

Tracking issue for the push to a robust engine whose output stays faithful to the source's architecture (same modules/classes/functions/control-flow), idiom-mapping only at the leaf level — not a refactored beast.

The architecture (HIR→MIR→LIR, refuse-don't-guess, verified+cached LLM holes, stdlib_maps flywheel) is in place. The gap is empirical: ~100% on curated algorithms vs ~46% on real C++ (compile-only). Close it via measurement → fidelity guarantees → a verification/repair loop → ground-truth typing → a compounding data flywheel.

Phase 0 — Measure

Phase 1 — Fidelity core (the 'graph of leaves, faithful skeleton')

Phase 2 — Robustness loop

Phase 3 — Hard source languages (ground truth, not guessing)

Phase 4 — Compounding flywheel

Principles: non-uniform granularity (faithful skeleton, idiomatic leaves) · analyze globally, translate locally · contracts carry semantics · provenance map = checkable fidelity invariant · translate fine, verify coarse · never weaken refuse-don't-guess.

Metadata

Metadata

Assignees

No one assigned

    Labels

    fidelity-engineFidelity-preserving robust transpilation engine

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions