Skip to main content

compile

Function compile 

Source
pub fn compile(
    program: Program,
    flags: &[String],
) -> Result<Compiled, Vec<Error>>
Expand description

Checks and lays out a parsed program. flags are this compiler’s own, such as -silent. A program is refused, with every message, when one stops its object code: under IBM’s default NOCOMPILE(S) one that is S or U, from W under -warnings-block, or as a CBL or PROCESS card’s COMPILE or NOCOMPILE says; otherwise its messages are Compiled::diagnostics.