lua-users home
lua-l archive

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


It looks good, but in the case of my application, I need the raw execution
power that C++ offers (multi-threaded, persistant game server), though it is
a very powerful preprocessor :)

> >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
>