lua-users home
lua-l archive

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


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.