Re: C++ bison GLR parser

haberg@math.su.se (Hans Aberg)
19 Nov 2005 02:29:40 -0500

          From comp.compilers

Related articles
C++ bison GLR parser mehta.pr.y@gmail.com (pymehta) (2005-11-15)
Re: C++ bison GLR parser Jeremy.Wright@microfocus.com (Jeremy Wright) (2005-11-19)
Re: C++ bison GLR parser haberg@math.su.se (2005-11-19)
| List of all articles for this month |

From: haberg@math.su.se (Hans Aberg)
Newsgroups: comp.compilers
Date: 19 Nov 2005 02:29:40 -0500
Organization: Mathematics
References: 05-11-081
Keywords: C++, parse

  "pymehta" <mehta.pr.y@gmail.com> wrote:


> I understand that C++ is not very convenient to parse with LALR
> parser. With bison going GLR, is there a GLR grammar in the wild that
> can do C++ now?


There is a C++ yacc-like grammar:
    http://www.parashift.com/c++-faq-lite/compiler-dependencies.html#faq-38.11
So you do not need GLR.


--
    Hans Aberg



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.