>> could a conforming implementation have them be yieldable?
> Yes.
>> (Also why are they not yieldable in the reference implementation?)
> It does not seem to be a good cost-benefit approach. Making them
yieldable will probably make them more complex and slower in the "normal"
case.
I'm curious as to what changes at the C level are
required to make them yieldable. For example, is it possible to make
Lpeg handling of callback functions (Cmt and /func) yieldable?
Paul.