Skip to main content

CompileFn

Type Alias CompileFn 

Source
pub type CompileFn = fn(&str, &ScriptCompile<'_>) -> Result<(Vec<u8>, Vec<String>), String>;
Expand description

Compile a program to bytecode: (source, against), giving the image and the compiler’s warnings, one line each.