MiraScript for Rust
mirascript is the batteries-included Rust interface to the MiraScript compiler
and virtual machine. It re-exports the complete mirascript-vm API, including
the derive macros for exposing live Rust values to scripts.
use ;
let script = compile?;
let mut context = new;
context.insert;
assert_eq!;
# Ok::
Compiler configuration and bytecode definitions are available through the
core module, while the complete runtime crate is also available as vm.
let config = new;
let script = compile_with?;
assert_eq!;
# Ok::