[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: [ANN] lua-inih v0.1
- From: Alexander Gladysh <agladysh@...>
- Date: Sat, 25 Sep 2010 16:42:10 +0400
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.