lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Oct 17, 2008, at 11:08 AM, V S P wrote:
would like to ask, if there is a standard mechanism for doing something
like that, or may be there is a way to provide a 'context' for the
loadstring
such that the context can contain only Table objects that I woudl allow
users to access
Basically you would take the function that loadstring returns and set it's environment such that it has your replacements (and for sure, no 'debug' information available)