Re: Parser generators which implemented Burke-Fisher error correction



I was interested on implementing the Burke-Fisher error
correction(http://portal.acm.org/citation.cfm?doid=22719.22720)
method in Bison. I want to know that is there any parser generators
implemented this feature? The one I only know is the ML-Yacc,
mentioned in the book "Modern Compiler Implementation in ML". If
there weren't much parser generators implemented it, is it means
that this feature is not useful or some other reasons?

Having used ml-yacc several times, I find the feature extremely
useful: it gives you reasonably good syntax error messages with no
effort whatsoever. I've heard people claim that its error messages
aren't very good, and that's probably true: hand written error
handling might get you further, just like assembly coding can give you
extra performance, but I find ml-yacc's error messages good enough,
and since you get it for free I find it really beneficial.

[Back when we punched our programs on cards, handed the decks to the
operator, and got printouts back an hour later, error correction was
very popular since it offered the chance to find more bugs per run and
decrease the number of runs until your program worked. Now that we do
everything interactively, I don't see much point in the compiler
guessing what you wanted to do rather than just point out where the
error is and letting you fix it. -John]

I don't think of it as a way to "keep parsing past the first error", but
just a way to get better error messages.


Stefan

.



Relevant Pages

  • Re: TCP/IP bug or feature?
    ... Subject: TCP/IP bug or feature? ... However, we'd need a bit more detail on exactly what you did, the error message and so on in order to be able to advise the poor lambs still in IBM as to their legal standing. ... They keep telling us how they want to make z/OS easier to install and maintain, then they have to debate whether to eliminate spurious error messages. ...
    (bit.listserv.ibm-main)
  • Re: Another useless error message
    ... Obviously whoever writes the error messages has english as a second ... I had an account, but it was cancelled by SW ... There's a lot of criticism of the new interface. ... I was selecting the feature rather than the surface. ...
    (comp.cad.solidworks)
  • Re: "microsoft office document imaging" documents?
    ... but...MDI is created by a feature ... in newer versions of windows, ... error messages. ... > Can they be opened on a Mac running OS X? ...
    (microsoft.public.mac.office)
  • Re: gnome and kde conflicts?
    ... > I like the consistent look across kde and gtk applications offered by ... > this feature, but with this enabled, gnome doesn't start any more. ... you can think of to trap error messages. ...
    (Debian-User)