pub fn run(source: String, args: &Args) -> Result<Compilation, Box<dyn Error>>Expand description
Runs the Surplus compiler with the given arguments.
This is identical to running the surplus CLI (except for parsing the arguments).
Err results indicate fatal errors that prevent compilation from completing.
This does not include warnings or syntax errors, which are included in the Compilation
result.