lua-users home
lua-l archive

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


On Fri, Apr 11, 2014 at 12:00 PM, Fabien <fleutot+lua@gmail.com> wrote:
> Notice that depending on how complex your metaprogramming needs are, you
> might be better-off with a dumb text-based preprocessor.

It would be useful (and interesting) if you could give us examples of
the transformations you need to apply to source.

If they're simple, then a lexical macro preprocessor like LuaMacro
could do the job (macros may execute arbitrary Lua code and can
temporarily take over stream processing - "reader macros").

Deep syntactical macros remain MetaLua's claim to fame....