Re: Is there an error correcting parser generator out there?

David Tarditi <dtarditi@cs.cmu.edu>
Thu, 29 Sep 1994 19:34:41 GMT

          From comp.compilers

Related articles
Is there an error correcting parser generator out there? hallmann@shiva.informatik.uni-dortmund.de (1994-09-26)
Re: Is there an error correcting parser generator out there? wjw@wjw.iaehv.nl (1994-09-28)
Re: Is there an error correcting parser generator out there? johnm@po.EECS.Berkeley.EDU (1994-09-28)
Re: Is there an error correcting parser generator out there? rfg@netcom.com (1994-09-29)
Re: Is there an error correcting parser generator out there? wgsteven@undergrad.math.uwaterloo.ca (1994-09-29)
Re: Is there an error correcting parser generator out there? jon@mauney.com (1994-09-29)
Re: Is there an error correcting parser generator out there? dtarditi@cs.cmu.edu (David Tarditi) (1994-09-29)
Re: Is there an error correcting parser generator out there? parrt@everest.ee.umn.edu (Terence Parr) (1994-09-30)
Re: Is there an error correcting parser generator out there? johnm@po.EECS.Berkeley.EDU (1994-10-01)
Re: Is there an error correcting parser generator out there? adrian@platon.cs.rhbnc.ac.uk (1994-10-04)
Re: Is there an error correcting parser generator out there? andrew@bugalugs (1994-10-05)
Re: Is there an error correcting parser generator out there? rockwell@nova.umd.edu (1994-10-05)
Re: Is there an error correcting parser generator out there? rfg@netcom.com (1994-10-05)
[3 later articles]
| List of all articles for this month |
Newsgroups: comp.compilers
From: David Tarditi <dtarditi@cs.cmu.edu>
Keywords: errors, parse, tools
Organization: School of Computer Science, Carnegie Mellon
References: 94-09-142 94-09-180
Date: Thu, 29 Sep 1994 19:34:41 GMT

If you're interested in error correcting parsers, you might
want to check out the following article:


'A Practical Method for LR and LL Syntactic Error Diagnosis and
  Recovery', by M. Burke and G. Fisher, ACM Transactions on
  Programming Languages and Systems, Vol. 9, No. 2, April 1987,
  pp. 164-197.


The parser generator distributed with the Standard ML of New Jersey
compiler, mlyacc, implements the simpler techniques described in the
article.


To quote from the manual:


      A parser tries to recover from a syntax error by making a
single token insertion, deletion, or substitution near the point
in the input stream at which the error was detected. In addition,
parsers delay the evaluation of semantic actions until parses are
completed successfully. This makes it possible for parsers to recover
from syntax errors that occur before the point of error detection.
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.