[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: More PEG
From: |
Ludovic Courtès |
Subject: |
Re: More PEG |
Date: |
Sat, 10 Sep 2011 23:35:37 +0200 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) |
Hi!
Noah Lavine <address@hidden> skribis:
> Right now I think you could get the same thing by running match on the
> output of the peg - something like
>
> (match (peg:tree (peg-parse <pattern> <tree>))
> ((list-of-as) ...)).
Can you give an example of what ‘peg-parse’ and ‘peg:tree’ return?
Ludo’.
PS: I would suggest removing the ‘peg-’ and ‘peg:’ prefixes. Users can
still use a renamer if the names clash.