lua-users home
lua-l archive

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

I think if you check Lua's history this existed at one time. If Lua were to
go this route, I'd rather see something inspired by Lisp macros.

Another option for getting conditional compilation might be to have some
form of compile-time expression notation in the language and have the
compiler be smart about handling "if true" and "if false".


on 11/27/03 8:04 AM, Ron Hudson at wrote:

> Here's a completely different request...
> How about Lua sending the text through some preprocessor first?
> #define
> #include
> #ifdef #end (or however that goes)
> and all the other fun pre-processor directives.