pub fn load_script(input: &str) -> Result<Intermediate, Vec<Error>>
Expand description
Loads a GeoScript
script and compiles it into Math IR. Encapsulates the entire compiler’s
work.
§Errors
Returns an error if the script is not a valid one. Any errors should result from tokenizing, parsing and unrolling, not mathing.