D parsing

Philippe Sigaud philippe.sigaud at gmail.com
Sun Nov 3 21:51:41 PST 2013


I *used* the grammar, obviously. Suing could be an option to disallow
left-recursion, but let's explore other ways for now.


On Mon, Nov 4, 2013 at 6:46 AM, Philippe Sigaud
<philippe.sigaud at gmail.com>wrote:

> On Mon, Nov 4, 2013 at 1:58 AM, Timothee Cour <thelastmammoth at gmail.com>wrote:
>
>>
>> On Sat, Nov 2, 2013 at 1:19 AM, Philippe Sigaud <
>> philippe.sigaud at gmail.com> wrote:
>>
>>>
>>> Note that Pegged has no problem with the official C grammar or the
>>> officiel XML specification...
>>>
>>
>> how do you handle left recursion in C ? eg: a[0][1] etc?
>>
>>
> I don't remember. Maybe the grammar I use has no left-recursion? I don't
> remember whether I sued the official C grammar or one created for PEGs by
> someone else. I know I tested it on many different programs, with no
> problem.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20131104/d6f86555/attachment.html>


More information about the Digitalmars-d mailing list