Function melodeon::compile

source ·
pub fn compile(melo_code: &str, module_path: &Path) -> CtxResult<(String, Type)>
Expand description

Compiles a melodeon program by its literal string, resolving dependencies assuming that the string was read from a file at the given module path. Returns the Mil representation, as well as the type of the