The open-source part of our modernization engine.
The situation
Teams need a transparent, testable way to evaluate AI code translation.
Legacy code holds decades of business rules that nobody can fully list. Manual rewrites are slow, and every hand-translated line is a chance to change behaviour by accident.
The idea behind the solution
A compiler front end parses source code into an abstract syntax tree, and a back end emits another language from that tree. Because the transformation is deterministic, it can be tested: the same inputs must give the same outputs before and after. Migration then proceeds in slices, with old and new running side by side until the comparison is clean.
Draws onAho, Lam, Sethi & Ullman, Compilers: Principles, Techniques, and Tools · Fowler, Refactoring, and the strangler-fig pattern
What we built
A CodeT5+ translator with LLM refinement and NLI checks, measured on execution match and LLM-as-judge.
01COBOL02CodeT5+03LLM refinement04NLI checks05Execution-match tests
- Open-source translation pipeline
- Execution-match evaluation
- LLM-as-judge scoring
What the business gained
Conversion that would take years by hand is done in months, with equivalence demonstrated by tests rather than asserted. The organisation leaves a scarce-skill platform without betting on a single cut-over.
- Public repository
Put an agent to work.
Tell us the workflow you want to change. An architect replies, and if there is a fit we scope a four-week proof of concept on your own data.

