lua-users home
lua-l archive

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


> >> Yes, yield is a specific case, just as exceptions are a specific case
> >> and setjmp/longjmp is a specific case. We'd have to go to something
> >> like Scheme to get generalized continuations.
> >
> > Or to Lua with gotos to outside a function ;-)
> 
> 
> is that a hint of things to come?

Quite the opposite. It is a hint of how difficult (or how far fetched)
it is to remove that limitation.

-- Roberto