help-bison
[Top][All Lists]
Advanced

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

Re: x + (y) + z


From: Hans Aberg
Subject: Re: x + (y) + z
Date: Mon, 07 Mar 2005 18:51:10 +0100
User-agent: Microsoft-Outlook-Express-Macintosh-Edition/5.0.6

At 02:14 +0000 2005/03/07, Derek M Jones wrote:
>>Paul Hilfinger is thinking about actions that during a split are executed
>>immediately, in addition to those delayed until the merge. This will enable
>>the kinds of things that you are asking for, I think, as one then can build
>>the parse trees, and make a selection based on that.
>
>I think the only way forward is for me to write some code, in yyparse,
>to select between the various parses when an ambiguity is detected.

You must merge them at some point, but you might use %merge to keep track of
the both parses using a merge-function then. (See the Bison manual, sec
1.5.2.)

  Hans Aberg






reply via email to

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