lua-users home
lua-l archive

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


This library provides a yieldable gsplit:

https://github.com/Wiladams/LAPHLibs/blob/master/stringutils.lua#L3

there might be other functions available as well.

best
valerio

On Mon, Feb 23, 2015 at 1:14 AM, Soni L. <fakedme@gmail.com> 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.