Back to Eqiora docs Skip to main content

compile

Function compile 

pub fn compile(
    file: &str,
    source: &str,
) -> Result<Vec<CompiledModel>, Vec<Diagnostic>>
Description

Parse and type-lower every model in one source file.

ยงErrors

Returns accumulated parser diagnostics, or type/lowering diagnostics from every model that could be independently checked.