lua-users home
lua-l archive

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


On 12 April 2012 19:10, Petite Abeille <petite.abeille@gmail.com> wrote:
>
> On Apr 12, 2012, at 7:43 PM, Michal Kottman wrote:
>
>> Do you mean the Penlight pl.stringio module?
>> http://stevedonovan.github.com/Penlight/api/modules/pl.stringio.html
>
> Hmmm… yes… possibly… at first glance Penlight doesn't support the 5.2 IO API (e.g. io:lines( '*L' ) )… I kind of recall something that did… perhaps the figment of my imagination though :)

I also wrote such a module for Squish (to emulate file I/O on packed
resources): http://code.matthewwild.co.uk/squish/file/14f827efadf2/vio/vio.lua

It doesn't support the 5.2 API either, but shouldn't be hard to extend to do so.

Regards,
Matthew