[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 08:58:07 -0200
> It doesn't prevent non-config-file-like behavior, like
> "x = function() ... end();"
This may be config-file-like behavior, yes, who knows?
Perhaps the app allows the user to set callbacks.
> It also makes it inconvenient to compile the files, which can be useful
> (depending on the "config files"). I've witten scripts to process and
> compile Lua scripts, and it's much nicer to be able to compile them in-
> place.
(echo 'return {'; cat $*; echo '}') | luac -
But, yes, I'm pushing it for no reason :-)
--lhf