Official D Grammar

Philippe Sigaud philippe.sigaud at gmail.com
Mon Apr 8 21:48:46 PDT 2013


> However in an old discussion someone said that the D grammar isn't LALR(1)
> or LR(1), so I don't think that is possible with current D parser
> generators. Do we have a pegged grammar for D?
>

Yes, it comes with the project. But, it's still buggy (sometimes due to my
own mistakes, sometimes due to plain errors in the online D grammar). And
the generated parser is quite slow, halas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20130409/255677cb/attachment.html>


More information about the Digitalmars-d mailing list