[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: avoiding infinite loops
From: |
Joel E. Denny |
Subject: |
Re: avoiding infinite loops |
Date: |
Tue, 13 Jun 2006 18:09:04 -0400 (EDT) |
On Tue, 13 Jun 2006, Sylvain Schmitz wrote:
> Since we are talking about conflicts and looping parsers, there is a
> possibility for an infinite loop with bison's conflict resolution in LALR(1).
> See attached file loop.y.
Here's one that uses rule order rather than precedence declarations:
S: A ;
B: C ;
C: B ;
A: B ;
C: 'a' ;
Input is just 'a'.
Joel
Re: avoiding infinite loops, Hans Aberg, 2006/06/13
Re: avoiding infinite loops, Joel E. Denny, 2006/06/13