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
you could traverse the table and add the globals with the Lua C api, but that wouldn't work with getfenv and custom datatypes could be problematic.
or maybe by hooking lua_getglobal in some way?
or even by modifying LUA_GLOBALSINDEX?
perhaps this stackoverflow question could have relevant information?
This is somewhat of a draft & just a suggestion, if I find anything related or make any progress, I can reply with the new information.
The text was updated successfully, but these errors were encountered:
An environment proxy (like
getfenv(0)
) or a way to define the environment through a table through an extra parameter inluau_run
The traditional method for compiling and running Luau via this project would be:
The proposed way of after implementation:
-- OR --
you could traverse the table and add the globals with the Lua C api, but that wouldn't work with
getfenv
and custom datatypes could be problematic.or maybe by hooking
lua_getglobal
in some way?or even by modifying
LUA_GLOBALSINDEX
?perhaps this stackoverflow question could have relevant information?
This is somewhat of a draft & just a suggestion, if I find anything related or make any progress, I can reply with the new information.
The text was updated successfully, but these errors were encountered: