help-bison
[Top][All Lists]
Advanced

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

Re: Bison Question: Ambiguous Grammar?


From: Hans Aberg
Subject: Re: Bison Question: Ambiguous Grammar?
Date: Fri, 6 May 2005 17:02:01 +0200

At 12:49 +0200 2005/05/06, Claus Brabrand wrote:
I have a question about Bisons GLR parser.

Is there a way for Bison (in %glr-parser mode) to return a parse tree
(doesn't matter which) when parsing according to an ambiguous grammar?

Bison never returns a parse tree. If you want that, you need to define its construction in the actions. When people ask that question, they often need much less; if you so want, you may precise your programming situation.
--
  Hans Aberg




reply via email to

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