lua-users home
lua-l archive

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


On Wed, May 19, 2010 at 12:56 PM, Nikolai Kondrashov <spbnick@gmail.com> wrote:
> You mean with Metalua? Or did I miss some other macro solution?

There is also LuaMacro, which is C-style lexical macros.  However, it
does require your Lua to have the token filter patch applied, at least
for the compilation stage.

(Since it is C-style, you can define the C classic ASSERT(a == 0) and
actually have the string 'a == 0' displayed as the assert message)

steve d.