lua-users home
lua-l archive

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


----- Original Message -----
From: Luiz Henrique de Figueiredo
Date: 4/28/2010 5:35 AM
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
Thanks everyone. I thought that Lua could not handle the assignment portion, but I thought I would ask. I already have an LPEG reader for the file format. It just would have been neat to have read it directly.

-Josh