[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lpeg.cut? (Re: Elegant design for creating error messages in LPEG parser)
- From: Sean Conner <sean@...>
- Date: Thu, 4 Apr 2019 00:23:11 -0400
It was thus said that the Great joy mondal once stated:
>
> My biggest issue is lack of good example docs - which I hope to someday
> fix, once I deal with my own problems.
There are examples out there for varying complexity. You have Dirk
Laurie's notes about LPEG:
https://github.com/dlaurie/lua-notes/blob/master/lpeg-brief.md
Then daurnimator has a collection of LPEG patterns:
https://github.com/daurnimator/lpeg_patterns
as well as myself:
https://github.com/spc476/LPeg-Parsers
There are probably others as well. If you search this mailing list archive,
you can find some pretty hairy LPEG examples.
-spc