[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Sandboxing in Lua 5.2
- From: steve donovan <steve.j.donovan@...>
- Date: Sat, 7 May 2011 14:55:03 +0200
On Sat, May 7, 2011 at 2:45 PM, Peter Cawley <firstname.lastname@example.org> wrote:
> Is it mandated by the reference manual that all implementations of Lua
> must return a single function rather than an iterator tuple for things
> like io.lines, string.gmatch, etc?
It appears not, since LuaJIT does not follow this pattern for io.lines:
> = io.lines 'lakefile'
function: fast#118 file (0x68ea1650)