[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: About how reduce/reduce conflicts are managed
From: |
Hans Åberg |
Subject: |
Re: About how reduce/reduce conflicts are managed |
Date: |
Sun, 19 Nov 2023 17:56:18 +0100 |
> On Nov 19, 2023, at 10:57, Domingo Alvarez Duarte <mingodad@gmail.com> wrote:
> … I found that bison/byacc/kmyacc reports 35 reduce/reduce conflicts but
> parsertl reports then as resolved.
…
> … how best to handle it, including questioning how bison does it.
>
> Can someone help in clarifying this ?
See the Bison manual, sec 5.6:
Bison resolves by choosing the first rule in the grammar, but recommends avoid
relying on it, instead rewriting the grammar.