lua-users home
lua-l archive

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


On Thu, Feb 25, 2010 at 20:20, Jonathan Castello <twisolar@gmail.com> wrote:
> Not for files, something that's been mentioned before recently: you'd
> have to use the io library explicitly, and you could have any number
> of valid reasons to not include that..

I don't understand what you mean... :-/
Could you point me to the relevant context?

> [...] But I don't see anything useful
> coming out of letting, say, a sandboxed module load things into the
> global environment instead of its own.

Couldn't you do
sandbox.load = function(chunk) return loadin(sandbox,chunk) end
?