4 ms·
Being able to embed this inside a rust program for scripting/the ability to tweak behavior at runtime without recompiling could be really cool. Although my drea
by thurn 5y ago
Being able to embed this inside a rust program for scripting/the ability to tweak behavior at runtime without recompiling could be really cool. Although my dream is still that someone makes an interpreted subset of Rust itself.
- tcard 5y agoNot for Rust itself, but there's an interpreter for Rust's MIR: https://github.com/rust-lang/miri https://github.com/rust-lang/miri
- pkolaczk 5y agoRune is pretty close, although it is dynamic (https://github.com/rune-rs/rune https://github.com/rune-rs/rune), Mun seems to be getting in that direction as well (and has a static type system!) but has fewer features (https://github.com/mun-lang/mun https://github.com/mun-lang/mun)