rhai 0.13.0

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

fn bob() {
    return 3;
}

print(bob());       // should print 3