lua-users home
lua-l archive

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


Hi Steve Donovan,

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

Is the extra library the liblua5.2-dev?
Then it would be some problem for me. I am planning to use in arm embedded system which has tiny small memory. now it only has about 20 Mega Bytes. I originally planned to use lua only.

And is C99 a must? I don't think we support C99...

Journeyer


----------------------------------------
Journeyer J. Joh
o o s a p r o g r a m m e r
a t
g m a i l  d o t  c o m
----------------------------------------


2014-03-26 17:06 GMT+09:00 steve donovan <steve.j.donovan@gmail.com>:
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)