[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lua source as config file
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Thu, 8 Feb 2007 09:45:24 -0200
> This is a bit tweaked.
Right. Let's just drop all these hacks. Lua is meant to be used as a config
language. It was designed for that. It already supports config files in
the form of series of assignments without ending commas or semicolons. It
supports a whole bunch more. If you need those assignments to go into a
table, setfenv after loadfile does it, as someone has already suggested.
Sorry about the noise. I just thought it was an opportunity to show how load
worked...
--lhf