help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to read an understand the bison report file ?


From: Timothy Madden
Subject: Re: How to read an understand the bison report file ?
Date: Thu, 28 Jun 2012 15:51:49 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120607 Thunderbird/10.0.5

On 06/28/2012 10:09 AM, Akim Demaille wrote:
>  On the other hand, I could not get GLR with C++ yet…
I have it working, but it's based on horrible hacks.  And
I really mean horrible.  If PHP in itself does not need it,
I would avoid it.


That is what I was afraid of.

I see the real php parser (from php source code) does not have a %glr directive, but it does have %expect 3, and I know php has the dangling elseif/else problem. Can a language with this issue be written in a LALR(1) grammar ?

Thank you,
Timothy Madden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]