lua-users home
lua-l archive

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


On Apr 19, 2018, at 11:10 PM, Sean Conner <sean@conman.org> wrote:

> 
>  More specifically, a production in the 're' module of LPeg, for folding
> captures.  I even have a proposed syntax:
> 
>    {^name^ p ^}    folding capture equivalent to lpeg.Cf(p,defs[name])
> 

~> for folding capture is probably better

http://lua-users.org/lists/lua-l/2015-08/msg00029.html