Re: Writing a compiler compiler (Hans Aberg)
17 Apr 2006 10:49:23 -0400

          From comp.compilers

Related articles
Writing a compiler compiler (Vladimir Lushnikov) (2006-04-17)
Re: Writing a compiler compiler (2006-04-17)
Re: Writing a compiler compiler (Russ Cox) (2006-04-17)
| List of all articles for this month |

From: (Hans Aberg)
Newsgroups: comp.compilers
Date: 17 Apr 2006 10:49:23 -0400
Organization: Mathematics
References: 06-04-105
Keywords: parse, C++
Posted-Date: 17 Apr 2006 10:49:23 EDT

  John Levine wrote:

> As to why an LR parser can't parse Python or C++, LR parsers only
> handle a subset of BNF. In particular they can't handle the
> ambiguity of C++ declarations.

There appears to be techniques around this for C++, getting even down to

    Hans Aberg

Post a followup to this message

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