ACM Home Page
Please provide us with feedback. Feedback
Practical syntactic error recovery in compilers
Full text PdfPdf (661 KB)
Source Annual Symposium on Principles of Programming Languages archive
Proceedings of the 1st annual ACM SIGACT-SIGPLAN symposium on Principles of programming languages table of contents
Boston, Massachusetts
Pages: 52 - 58  
Year of Publication: 1973
Authors
Susan L. Graham  University of California, Berkeley
Steven P. Rhodes  University of California, Berkeley and Bell Laboratories, Greensboro, North Carolina
Sponsors
SIGPLAN: ACM Special Interest Group on Programming Languages
SIGACT: ACM Special Interest Group on Algorithms and Computation Theory
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 3,   Downloads (12 Months): 32,   Citation Count: 4
Additional Information:

abstract   references   cited by   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/512927.512932
What is a DOI?

ABSTRACT

A substantial portion of any programmer's time is spent in debugging. One of the major services of any compiler ought to be to provide as much information as possible about compile-time errors in order to minimize the time required for debugging. A good error detection and recovery scheme should maximize the number of errors detected but minimize the number of times it reports an error when there is none. These spurious error detections and their associated error messages are usually engendered by an inappropriate recovery action.In this paper we describe a recovery scheme for syntax errors which provides high quality recovery with good diagnostic information at relatively low cost. In addition, implementation of the recovery scheme can be automated - that is, the recovery routine can be created by a parser-generator. Therefore, the compiler designer need not be burdened with the difficulties of error recovery and the programming effort necessary to design and debug a myriad of ad hoc recovery routines.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
 
2
Bauer, H. R., Becker, S., Graham, S. L., and Satterthwaite, E. "Algol W Language Description," Technical Report CS 110 Computer Science Department, Stanford University, Stanford, Ca., Sept. 1969.
 
3
Conway, R. W., Morgan, H. L., Wagner, R. A., and Wilcox, T. R. "PL/C. A High Performance Subset of PL/I," Technical Report 70-55, Computer Science Department, Cornell University, Ithaca, N.Y., February, 1970.
4
5
6
 
7
James, L. R. "A Syntax Directed Error Recovery Method," Master's thesis, Technical Report CSRG-13, Computer Systems Research Group, University of Toronto, Toronto, Canada, May 1972.
 
8
Knuth, D. E. "On the Translation of Languages from Left to Right", Information and Control, Vol. 8, November 1965, pp. 607-639.
 
9
La France, J. E. "Syntax-directed Error Recovery for Compilers," Ph.D. thesis, Illiac IV Document 249, Computer Science Department, University of Illinois, Urbana, Illinois, June 1971.
 
10
 
11
12
 
13
 
14
Rhodes, S. P. "Practical Syntactic Error Recovery for Programming Languages," Ph.D. thesis, Technical Report 15, Department of Computer Science, University of California, Berkeley, Ca., June 1973.
15
16
 
17
Wirth, N. "The Programming Language Pascal," Acta Informatica, Vol. 1, January 1971, pp. 35-63.
 
18
Wirth, N. "The Design of a Pascal Compiler," Proceedings of the International Summer School on Program Structures and Fundamental Concepts of Programming, Munich, Germany, July 1971.

Collaborative Colleagues:
Susan L. Graham: colleagues
Steven P. Rhodes: colleagues