lua-users home
lua-l archive

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

On 26 September 2010 17:07, steve donovan <> wrote:
> On Sun, Sep 26, 2010 at 7:56 AM, Quae Quack <> 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.