[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua DSL for configuration
 
- From: Luiz Henrique de Figueiredo <lhf@...>
 
- Date: Wed, 28 Apr 2010 08:35:06 -0300
 
> There is a configuration file I deal with that has a syntax like so:
> 
> VARIABLE "MyVar" = "Hello"
> 
> I thought that, perhaps, Lua could read it directly.
Lua cannot read this syntax directly. If you want to keep it, try my lcl:
	http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lcl
With lcl, you can even use other variations, such as
	VARIABLE MyVar "Hello World"