lua-users home
lua-l archive

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

Thank you! Sean Conner,

It's GPL! I must not copy it but just refer to.

Thank you very much!


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 1:09 GMT+09:00 Sean Conner <>:
It was thus said that the Great Journeyer J. Joh once stated:
> Hello,
> I'd like to use lua as a configure file in a C program.
> There is a explanation about this use case [1] in PIL.
> I tried to find some example for about this but didn't find any good sample
> code.
> I searched lua wiki and internet without any good result.
> Is there any good lua or C library for my use case?

  I use Lua to read a configuration file for my blog engine [2].  Here's the
configuration file:

and the code that loads it:


[1]     Not my footnote.

[2]     Written in C.

        Hey, I started in 1999 and I had a choice---C or Perl.  I picked the
        least painful option.