lua-users home
lua-l archive

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


LPegLabel is an extension of the LPeg library that provides an
implementation of Parsing Expression Grammars (PEGs) with labeled
failures.

The current implementation of LPegLabel is a conservative extension of
LPeg 0.12.2.

You can download the source (and some documentation) from GitHub:
https://github.com/sqmedeiros/lpeglabel/

For a more detailed discussion about PEGs with labels please see [1] and [2].

Any feedback is welcome.

Sérgio


[1] http://www.inf.puc-rio.br/~roberto/docs/sblp2013-1.pdf
[2] http://arxiv.org/abs/1405.6646