lua-users home
lua-l archive

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


On Fri, Apr 11, 2014 at 5:56 PM, Dominique Torette
<Dominique.Torette@spacebel.be> wrote:
> But once again, it seem that it is supported only for Lua 5.1 (+ tokenf patch).

Google is sometimes not our friend.  Look at latest version at:

https://github.com/stevedonovan/LuaMacro

which is fine with Lua 5.2.

The idea was to move beyond using the tokenf patch, because I wanted
people to use it without patching their Lua.  So it uses lpeg
tokenizers from Peter Odding  ...

It should be straightforward to use for your tasks (luarocks has a
reasonably up-to-date version)