rhai 0.13.0

Embedded scripting for Rust
Documentation
1
2
3
4
5
6
7
// This script defines a function with many parameters and calls it

fn f(a, b, c, d, e, f) {
    a - b * c - d * e - f
}

print(f(100, 5, 2, 9, 6, 32));      // should print 4