[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to change default outcome of shift/reduce conflict?
From: |
Hans Aberg |
Subject: |
Re: How to change default outcome of shift/reduce conflict? |
Date: |
Sat, 12 Jan 2002 00:50:27 +0100 |
At 16:25 -0500 2002/01/11, Anthony DeRobertis wrote:
>I'm doing a grammar for HyperTalk in bison,
I suggest you to check the Usenet newsgroup comp.compilers or some
list/newsgroup for your language, to check if this is not already available
somewhere.
>which has a command that looks
>takes a list of expressions, seperated by "or". An expression, however, can
>contain "or" (it's an operator).
>Other than writing an expression-without-or copy of expression, which I
>assume would work [haven't tried it yet], is there a way to tell bison to
>reduce, not shift?
You can use the Bison %left command on your "or" operator (see the manual
for calculator example).
Hans Aberg
- How to change default outcome of shift/reduce conflict?, Anthony DeRobertis, 2002/01/11
- Re: How to change default outcome of shift/reduce conflict?,
Hans Aberg <=
- Re: How to change default outcome of shift/reduce conflict?, Anthony DeRobertis, 2002/01/12
- Re: How to change default outcome of shift/reduce conflict?, Hans Aberg, 2002/01/12
- Re: How to change default outcome of shift/reduce conflict?, Anthony DeRobertis, 2002/01/12
- Re: How to change default outcome of shift/reduce conflict?, Akim Demaille, 2002/01/12
- Re: How to change default outcome of shift/reduce conflict?, Hans Aberg, 2002/01/12
- Re: How to change default outcome of shift/reduce conflict?, Anthony DeRobertis, 2002/01/12
- Re: How to change default outcome of shift/reduce conflict?, Hans Aberg, 2002/01/12
- Re: How to change default outcome of shift/reduce conflict?, Akim Demaille, 2002/01/13
- Re: How to change default outcome of shift/reduce conflict?, Hans Aberg, 2002/01/13
- Re: How to change default outcome of shift/reduce conflict?, Anthony DeRobertis, 2002/01/14