lua-users home
lua-l archive

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


On 15 January 2014 00:53,  <colinz@gmx.com> wrote:
> On 2014-01-14 14:48, Choonster TheMage wrote:
>
>> Not unless you use a modified version of Lua or a source-to-source
>> converter. Lua lets you overload the functionality of existing
>> operators, but you can't create your own aliases for them.
>
>
> What about preprocessing. Does Lua have a preprocessor?
>
>
>

There's no preprocessor built in to the language, but there are third
party Lua-based languages like Metalua[1] which offer macros.

[1] http://metalua.luaforge.net/download.html