Rewrite Rhai function dispatching

This commit is contained in:
torkleyy
2017-12-20 12:16:14 +01:00
parent ecf143b649
commit f09545921f
11 changed files with 610 additions and 1351 deletions

View File

@@ -5,6 +5,6 @@ fn main() {
let mut engine = Engine::new();
if let Ok(result) = engine.eval::<i64>("40 + 2") {
println!("Answer: {}", result); // prints 42
println!("Answer: {}", result); // prints 42
}
}
}