[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] lua-inih v0.1
- From: Quae Quack <quae@...>
- Date: Sun, 26 Sep 2010 15:56:09 +1000
On 25 September 2010 22:42, Alexander Gladysh <agladysh@gmail.com> wrote:
> Hi, list!
>
> Announcing lua-inih 0.1: bindings for inih
> (http://code.google.com/p/inih/), simple .INI file parser.
>
> Homepage: http://github.com/agladysh/lua-inih
>
> Example:
>
> local inih = require 'inih'
>
> local data = { }
>
> assert(inih.parse('myfile.ini', function(section, name, value)
> data[section] = result[section] or { }
> data[section][name] = value
>
> return true -- continue parsing
> end))
>
> Rockspec for v0.1:
> http://github.com/agladysh/lua-inih/raw/master/rockspec/lua-inih-0.1-1.rockspec
> Rockspec for SCM:
> http://github.com/agladysh/lua-inih/raw/master/rockspec/lua-inih-scm-1.rockspec
>
> Alexander.
>
>
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....