help-bison
[Top][All Lists]
Advanced

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

Re: Semantic Predicates (Bison)


From: Hans Åberg
Subject: Re: Semantic Predicates (Bison)
Date: Tue, 3 May 2016 10:41:09 +0200

> On 3 May 2016, at 00:55, Cleverson Ledur <address@hidden> wrote:

> Actually, I am doing a C++ parser and this presents a set of ambiguities (I
> am using the standard C++ grammar 14). Do you indicate any technique for
> solving these ambiguities in C++ grammar using Bison? I observed that most
> ambiguities happen due to type_name parsing.

It is possible to resolve that in LALR(1), cf. [1]. You might also inquiry in 
the Usenet newsgroup comp.compilers.

1. https://isocpp.org/wiki/faq/compiler-dependencies#yaccable-grammar





reply via email to

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