lua-users home
lua-l archive

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


>The Lua preprocessor was removed in v4, I cant remember the reason.

See http://www.lua.org/history.html (subsection "Lua version 3").

>Perhaps a simple preprocessor would be the answer. It could be written in Lua
>and distributed with the source, perhaps as an optional wrapper to dofile.

See lua/test/pp.lua
--lhf