cfadmin-cn / lua-toml

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

License:MIT License


Languages

Language:C 98.4%Language:Makefile 0.8%Language:Lua 0.7%