[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] lua-inih v0.1
- From: Quae Quack <quae@...>
- Date: Sun, 26 Sep 2010 17:47:58 +1000
On 26 September 2010 17:07, steve donovan <firstname.lastname@example.org> wrote:
> On Sun, Sep 26, 2010 at 7:56 AM, Quae Quack <email@example.com> wrote:
>> I don't mean to rain on your parade, but I would have thought an lpeg
>> based library would be just as fast, and yet alot more versatile....
> I'm a fan of the simplest solution to do the job. Why use lpeg if
> plain Lua does the job, in a way that anybody can understand? Just
> because it is possible to use lpeg, does not mean that it is the
> appropriate solution. Remember that a robust solution would need
> proper error handling, which takes special care in lpeg.
> steve d.
But this library is not an all lua solution, but something that brings
in an extra dep.
My point is, why bring in a specific tool for the job, when you can
use a universal tool that does the job just as good.
On that point, I'm trying to write an ini file reader in lpeg now; the
lack of specifications of the ini file format makes things hard. Will
post when I finish.