lua-users home
lua-l archive

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


>a preprocessor is not
>something terribly difficult to offer as a an extension or wrapper library.

That's what lua/test/pp.lua does. It's even more powerful than the one in 3.x
because full expressions can be used in $ifs.

Simply load pp.lua before your programs and use dofile as before.
pp.lua redefines dofile.
--lhf