[][src]Function zamm::generate_code

pub fn generate_code(
    input_file: Option<&str>,
    codegen_cfg: &CodegenConfig
) -> Result<ParseOutput, Error>

Generates an intermediate binary from the given file and runs it. If no file is specified, then it will search for a yin.md file in the current directory.

Returns the contents of the input file.