[Top][All Lists]

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

Re: Reductions during Bison error handling

From: Akim Demaille
Subject: Re: Reductions during Bison error handling
Date: 20 May 2002 10:16:36 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp)

| HA > So I think the efficient error recovery must include semantic 
| Yes, Corbett and others reached similar conclusions.  They would cite
| examples like
|        A(3) : f;
| where in Ada, an appropriate replacement is A(3) := f; if A is an
| array and f is a variable, and A(3) ; f; if A and f are procedures.

Given where you are, maybe you would have access to some
implementation of Corbett's Pascal Auditor?  Although we didn't
struggle very hard, we did try to use his error recovery scheme in
Bison, but it was a failure.  I could not find any hint of how the
stack should be massaged etc.  Having an original .y file would help
understanding how it was to be used.

This is why bison.hairy has, finally, been removed.  It will be,
anyway, at least as easy to re-implement support from scratch, as to
try to use the (probably broken) remains that were left in Bison until

reply via email to

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