lua-users home
lua-l archive

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


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....