I have one simple question - WHY?
I mean BEAM wasn’t designed as a embedded scripting engine, so it isn’t easy accessible as one. You can though look at the Enigma which is BEAM implementation in Rust, so maybe you could integrate that.
TBH If you want embedded language in Rust then look into Lua(JIT), Ketos, or Dyon.


















