lua-users home
lua-l archive

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




On 27/07/16 01:43 PM, William Ahern wrote:
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


How would I use it here and get rid of lpeg.Carg(1)?

--
Disclaimer: these emails may be made public at any given time, with or without reason. If you don't agree with this, DO NOT REPLY.