lua-users home
lua-l archive

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


On Mon, May 18, 2020 at 11:53 AM Roberto Ierusalimschy
<roberto@inf.puc-rio.br> wrote:
>
> > That's not really the question. The question is whether it is possible
> > to make a loop _in pure lua code_ that does not ever call a hook
> > function. (What happens to an error that that function might generate is
> > a separate question.)
> >
> > If that's true, it would be a serious problem, no?
>
> I don't see any mention to _in pure lua code_ in the original message,
> so I assume that what you are calling "the question" is a new question
> you want to ask, not the one which was asked.

Sorry, I should have made that more clear in my original message. I am
only concerned with being able to interrupt pure Lua code with the
hook.

Joseph C. Sible