help-bison
[Top][All Lists]
Advanced

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

Re: gcc compile-time performance


From: Robert Dewar
Subject: Re: gcc compile-time performance
Date: Mon, 20 May 2002 20:47:37 -0400 (EDT)

<<GNAT's real advantage, in fact, is not so much in good error RECOVERY,
as in good error DIAGNOSIS: its messages are MUCH better than the
usual GCC standard.  Panic-mode error recovery is never going to give
you that.
>>

As an example of error recovery in GNAT, it goes to great ends to try to
survive missing, extra, or malformed enders. It uses all sorts of clues,
including indentation of the source to guess the intended structure and
an interesting criterion which it meets is that none of the ACVC tests
get confused, and none of them need splitting because of such errors.
(you have to split an ACVC test if you generate junk extra errors in
an error test or if you miss an error).


reply via email to

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