Skip to main content

compile_to_c

Function compile_to_c 

Source
pub fn compile_to_c(source: &str) -> Result<String, ParseError>
Expand description

Compile LOGOS source to C code (benchmark-only subset).

Produces a self-contained C file with embedded runtime that can be compiled with gcc -O2 -o program output.c.