lua-users home
lua-l archive

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


2013/2/12 William Sumner <prestonsumner@me.com>:

> Lua's utility as a configuration language makes syntax an end-user feature.

You don't need to stop at what the Lua standalone handles out of the box.
Your own program can be written in Lua and accept configuration information
in quite a large selection of formats. A well-known format and a good format
are, in that order:

opt1 = json [[
...
]]

opt2 = yaml [[
...
]]

[1] http://lua-users.org/wiki/JsonModules
[2] http://yaml.luaforge.net/