Skip to main content

load_program

Function load_program 

Source
pub fn load_program(
    entry_path: &str,
    entry_source: &str,
) -> Result<Program, Diagnostic>
Expand description

Load the entry script and every module it imports into a Program, resolving so <name> against the stdlib and sibling files only (no project dependencies).