lua-users home
lua-l archive

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


On Tue, Mar 25, 2014 at 5:12 PM, Journeyer J. Joh
<oosaprogrammer@gmail.com> wrote:
> I'd like to use lua as a configure file in a C program.

If you don't mind using an extra library, then llua can make this easier.  See:

https://github.com/stevedonovan/llua/blob/master/read-config.c

(the 'config.lua' is in same directory)