lua-users home
lua-l archive

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

On 02/23/2015 01:14 AM, Soni L. wrote:
Lua 5.2 added the ability to yield thru C functions, but most functions aren't yieldable (e.g. string.gsub, load, table.sort). Does the manual require that those functions be non-yieldable? or could a conforming implementation have them be yieldable? (Also why are they not yieldable in the reference implementation?)
Disclaimer: these emails are public and can be accessed from <TODO: get a non-DHCP IP and put it here>. If you do not agree with this, DO NOT REPLY.
I made several functions yieldable for my system. The most prominent one was 'require'. That makes it possible for me to debug in required scripts.

It might be interesting to have a bundel of patches on the Lua Wike. The best organization would probably be one patch per function.