You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 10, 2023. It is now read-only.
I want to make a repl, but I'd need access to the internal vm to execute code. I saw pull #9 and it gives access to the vm on initialization, but it doesn't work for a repl.
One possibility would be to somehow make the LuaActor use another's vm, in with_vm instead of passing a reference of the vm to the function, make the function return a reference of a vm, so that the owner of the actor is also the owner of the vm, I don't know if that's even possible though.
Another would be to create a LuaMessage variant with a function which receives a reference to the vm.
I like the second most but I don't really like either that much.
The text was updated successfully, but these errors were encountered:
I want to make a repl, but I'd need access to the internal vm to execute code. I saw pull #9 and it gives access to the vm on initialization, but it doesn't work for a repl.
One possibility would be to somehow make the LuaActor use another's vm, in
with_vm
instead of passing a reference of the vm to the function, make the function return a reference of a vm, so that the owner of the actor is also the owner of the vm, I don't know if that's even possible though.Another would be to create a LuaMessage variant with a function which receives a reference to the vm.
I like the second most but I don't really like either that much.
The text was updated successfully, but these errors were encountered: