Pegged, a Parsing Expression Grammar (PEG) generator in D

Jay Norwood jayn at prismnet.com
Mon Mar 12 22:57:29 PDT 2012


On Tuesday, 13 March 2012 at 05:25:38 UTC, Jay Norwood wrote:
>
>>>
>>
>> Admittedly I have not heard of PEGs before, so I'm curious: Is 
>> this powerful enough to parse a language such as C?
>
> I've just read a few articles referenced from this page, and 
> the second link was by someone who had done java 1.5, the 
> second link
> http://bford.info/packrat/
> http://www.romanredz.se/papers/FI2007.pdf

Also in the later paper he did a C parser, so I suppose that is 
the answer ...

http://www.romanredz.se/papers/FI2008.pdf


More information about the Digitalmars-d-announce mailing list