[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Simple peg examples
- From: Andrew Starks <andrew.starks@...>
- Date: Tue, 12 Jun 2012 23:24:01 -0500
On Tue, Jun 12, 2012 at 4:04 PM, William Ahern
<william@25thandclement.com> wrote:
> On Tue, Jun 12, 2012 at 01:13:21PM +0200, steve donovan wrote:
>> On Mon, Jun 11, 2012 at 4:32 AM, Glenn Edgar <glenn-edgar@onyxengr.com> wrote:
>> > I was trying to use peg module. I could not figure it out. Are there
>> > simple complete programs.
>>
>> I have just added a tutorial to the Wiki:
>>
>> http://lua-users.org/wiki/LpegTutorial
>>
>
> Nice.
>
> Part of the problem with PEGs, I think, is that people approach PEGs like
> souped-up regular expressions. The problem is compounded the more experience
> one has with regexes.
...snip...
> Not sure how to concisely describe the utility of lookahead assertions in a
> tutorial format, though.
>
>
>
I might suggest that you have until November to figure it out.
Personally, I'd love to sit in on a presentation on this topic. :)
Best Regards,
Andrew Starks