Rhai - embedded scripting for Rust
Rhai is a tiny, simple and fast embedded scripting language for Rust that gives you a safe and easy way to add scripting to your applications. It provides a familiar syntax based on JavaScript and Rust and a simple Rust interface. Here is a quick example.
First, the contents of my_script.rhai:
// Brute force factorial function
// Calling an external function 'compute'
compute
And the Rust part:
use ;
Documentation
See The Rhai Book for details on the Rhai scripting engine and language.