lua-users home
lua-l archive

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


Thanks Steve for that clarification. I think the LuaMacro page only mentions v1. The LuaForge/archives page of LuaMacro shows v1.5. Where can I find v2? 


On Wed, Apr 10, 2013 at 1:20 PM, steve donovan <steve.j.donovan@gmail.com> wrote:
On Wed, Apr 10, 2013 at 7:10 PM, oliver <oliver.schoenborn@gmail.com> wrote:
Thanks Luiz, that's exactly what I was looking for. A quick comparison, hopefully this is not too far off the mark: 

A little correction: LuaMacro 1 was indeed based off lhf's tokenf, but LuaMacro 2 used an LPeg Lua lexer by Peter Odding.  Which was a good decision at the time, when it was clear that token filters were unlikely to ever be part of stock Lua.  Due to the outrageously good performance of LPeg, it is in fact about as fast as the direct patch to the lexer.