Skip to main content

Crate xpile_rust_codegen

Crate xpile_rust_codegen 

Source
Expand description

Shared Rust emission.

Takes meta-HIR as input, emits idiomatic Rust. Language-neutral by design — language-specific quirks (Python’s int promotion, C’s pointer arithmetic, Ruchy’s pipeline operator) are normalized in each frontend before reaching codegen.

Exposes both:

Structs§

RustBackend

Enums§

CodegenError

Functions§

emit_module