Hacker News new | ask | show | jobs
by anonymoushn 2071 days ago
Those are exposed via the built-in debug library, including in luajit.
2 comments

Oh whoops yes :-)

Note that you can only look up variables by their bytecode register number, not by name.

IIRC that uses the Lua C API which LuaJIT supports by fully restoring the interpreter state?