Lena Code is a sibling product of Topaz. Its conversion workflows read source code in one language and emit equivalent code in another. Topaz can sit on both sides of that workflow: as an input language to convert away from, and as an output language to convert into.
Topaz focuses on a small checked source surface and deterministic execution. Lena Code focuses on language-to-language conversion workflows. Together they make Topaz useful both as source material for conversion and as a clean target that can be parsed, run, and built by the Topaz toolchain.
Why Topaz Fits Conversion Workflows
- One way to say it. A small, closed grammar leaves a converter fewer target shapes to choose between, and reviewers see one canonical style that reads the same to people and AI agents.
- Unicode-first identifiers. Domain names can stay in their own language instead of being forced through lossy romanization.
- Run/build differential checks. For the supported surface,
topaz runandtopaz buildare checked against each other, so generated Topaz can be validated like ordinary Topaz.
These are engineering checks exercised by the toolchain and real use. When this site says proof, it means exactly those checks.
Conversion Snapshots
Lena Code may receive source shaped like this TypeScript:
export function greet(name: string): string {
return `Hello, ${name}!`;
}Or this Rust:
pub fn add(a: i32, b: i32) -> i32 {
a + b
}When Topaz is the target, the output should stay on the canonical Topaz surface:
function add(a: int, b: int) -> int {
a + b
}Checking Converted Topaz
Converted Topaz is ordinary Topaz. Validate it like any other program:
topaz parse main.tpz
topaz run main.tpz
topaz build main.tpz
For examples that produce output, compare the run transcript with the built artifact. If the two paths disagree on the same supported program, that is a Topaz bug.
Scope
Both products are complete tools in their own right. The interop layer expands what you can do when you use them together. Lena Code's behavior and supported language pairs are documented at lenacode.com.