|
If you don't mind using an extra library, then llua can make this easier.
On Tue, Mar 25, 2014 at 5:12 PM, Journeyer J. JohIf you don't mind using an extra library, then llua can make this easier. See:
<oosaprogrammer@gmail.com> wrote:
> I'd like to use lua as a configure file in a C program.
https://github.com/stevedonovan/llua/blob/master/read-config.c
(the 'config.lua' is in same directory)