lua-users home
lua-l archive

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


> This fixed stack depth property does not hold for the body of your
> proposed for loop.

So it could only work with a fixed number of state vars for the entire
loop. Could these stack slots be counted upon evaluation of explist
and then the same number of variables be sent back to f ? Or would
that still be a pain to implement? I'm just trying to see if it's
feasible to squeeze in 1 or 2 more state vars in there, which would be
plenty enough to make some iterators heapless.