/lua-toml

Primary LanguageCMIT LicenseMIT

lua-toml

The toml library written in C exports interfaces for Lua to use.

Build

cd lua-toml and make build

Usage

  • use toml.load(config_string) to load toml string and return table.

  • use toml.loadfile(config_filename) to load toml file and return table.

Example

Please refer to the test.lua file.

License

MIT