pub fn generate(program: &TypedProgram) -> KainResult<String>
Generate Rust source code from a typed program