| Automatic error recovery for LR parsers |
| Full text |
Pdf
(705 KB)
|
Source
|
Communications of the ACM
archive
Volume 21 , Issue 6 (June 1978)
table of contents
Pages: 459 - 465
Year of Publication: 1978
ISSN:0001-0782
|
|
Authors
|
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 5, Downloads (12 Months): 27, Citation Count: 13
|
|
|
ABSTRACT
In this paper we present a scheme for detecting and recovering from syntax errors in programs. The scheme, which is based on LR parsing, is driven by information which is directly and automatically obtainable from the information that is already present in an LR parser. The approach, which is patterned after that of Levy and Graham and Rhodes, appears to provide error recovery which is both simple and powerful.
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
|
|
 |
3
|
|
 |
4
|
|
 |
5
|
|
 |
6
|
|
| |
7
|
James, L.R. A syntax directed error recovery method. Master's Th., Tech. Rep. CSRG-13, Comptr. Syst. Res. Group, U. of Toronto, Toronto, Ont., Canada, May 1972.
|
| |
8
|
|
| |
9
|
Knuth, D.E. On the translation of languages from left to right. Inform. and Control 8 (1965), 607-639.
|
| |
10
|
|
| |
11
|
|
| |
12
|
|
| |
13
|
Modry, ,I.A. Syntactic error recovery for LR parsers. Master's Th. UIUCDCS-R-76-388, Dept. Comptr. Sci., U. of Illinois, Urbana, I11., 1976.
|
| |
14
|
Partridge, D. Heuristic methods in the analysis of program statements. Ph.D. Th., Dept. of Comptng. and Control, U. of London, London, England, Aug. 1972.
|
| |
15
|
Rhodes S.P. Practical syntactic error recovery for programming languages. Ph.D. Th., Tech. Rep. No. 15, Comptr. Sci. Dept., U. of California, Berkeley, Calif., June 1973.
|
| |
16
|
Szymanski, T.G., and Williams, J.H. Non-canonical parsing. Proc. 14th Annual Symp. on Switching and Automata Theory, Oct. 1973, pp. 122-129.
|
| |
17
|
|
 |
18
|
|
INDEX TERMS
Primary Classification:
D.
Software
D.3
PROGRAMMING LANGUAGES
D.3.4
Processors
Subjects:
Parsing
Additional Classification:
D.
Software
D.2
SOFTWARE ENGINEERING
D.3
PROGRAMMING LANGUAGES
D.3.4
Processors
Subjects:
Compilers
F.
Theory of Computation
F.4
MATHEMATICAL LOGIC AND FORMAL LANGUAGES
F.4.2
Grammars and Other Rewriting Systems
Subjects:
Parsing
I.
Computing Methodologies
I.2
ARTIFICIAL INTELLIGENCE
General Terms:
Design,
Languages,
Performance,
Reliability,
Theory
Keywords:
LR,
automatic correction,
compilers,
error correction,
parsing,
programming languages,
syntax errors
|