Function compile

Source
pub fn compile(
    source: &str,
    source_name: &str,
    resolver: &impl Resolve,
) -> CompilationResult