Function compile_unoptimized

Source
pub fn compile_unoptimized(source: &str) -> Result<Function, CompilationError>
Expand description

Compile an alleged dice expression into a function. Do not optimize the function.

§Parameters

  • source: The source code to compile.

§Returns

The compiled function.

§Errors

CompilationFailed if the function could not be compiled.