[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: File-like string scanning
- From: steve donovan <steve.j.donovan@...>
- Date: Tue, 3 Jun 2014 09:17:01 +0200
On Tue, Jun 3, 2014 at 9:11 AM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
> I can't believe that I'm the first person who has though of doing this.
> Any pointer to a module that does it nicely will be appreciated.
https://github.com/stevedonovan/Penlight/blob/master/lua/pl/stringio.lua
No kitchen-sink dependencies, and I tried hard to get 5.2 file
semantics right; any criticism welcome.