Rhai is an embedded scripting language for Rust that gives you a safe and easy way to add scripting to your applications. When compiled to WebAssembly it can run in the browser.
The running application will print whatever the last result is. You can call
tostr to turn strings or booleans into a string.