lua-users home
lua-l archive

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


On Wed, Jul 27, 2016 at 11:27:35AM -0300, Soni L. wrote:
> Sean Conner's incomplete solution uses lpeg.Carg(1) which doesn't work
> recursively.
> 
<snip>

The answer is lpeg.V and the table mode of lpeg.P.

See http://www.inf.puc-rio.br/~roberto/lpeg/#grammar