D parsing

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sat Nov 2 19:11:19 PDT 2013


On 11/2/13 6:45 PM, Timothee Cour wrote:
> 1)
> The main issue I see with pegged is PEG grammars don't support left
> recursion, so for example will fail on foo[1].bar(2).fun().
> Unless there's a plan to accomodate those, I sense a dead end.
> One can eliminate left recursion but this has issues.

I see Pegged significant not only as a PEG-based generator, but also for 
exercising D's generative abilities and consequently inspire other 
parser generators.

Andrei



More information about the Digitalmars-d mailing list