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

_______________________________________________
help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to