[Top][All Lists]
[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
- Re: x + (y) + z, (continued)
- Re: x + (y) + z, Derek M Jones, 2005/03/07
- Re: x + (y) + z, Frank Heckenbach, 2005/03/07
- Re: x + (y) + z, Derek M Jones, 2005/03/07
- Re: x + (y) + z, Frank Heckenbach, 2005/03/07
- Re: x + (y) + z, Derek M Jones, 2005/03/08
- Re: x + (y) + z, Frank Heckenbach, 2005/03/09
- Ambiguity involving two parse stacks reducing on the same rule, Derek M Jones, 2005/03/09
Re: x + (y) + z, Hans Aberg, 2005/03/06
Re: x + (y) + z, Hans Aberg, 2005/03/07
Re: x + (y) + z,
Hans Aberg <=
Re: x + (y) + z, Hans Aberg, 2005/03/07