| An efficient insertion-only error-corrector for LL(1) parsers |
| Full text |
Pdf
(474 KB)
|
| Source
|
Annual Symposium on Principles of Programming Languages
archive
Proceedings of the 4th ACM SIGACT-SIGPLAN symposium on Principles of programming languages
table of contents
Los Angeles, California
Pages: 97 - 103
Year of Publication: 1977
|
|
Authors
|
|
| Sponsors |
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 4, Downloads (12 Months): 21, Citation Count: 5
|
|
|
ABSTRACT
An LL(1)-based error-corrector which operates by "insertion-only" is studied. The corrector is able to correct and parse any input string. It is efficient (linear in space and time requirements) and chooses least-cost insertions (as defined by the user) in correcting syntax errors. Moreover, the error-corrector can be generated automatically from the grammar and a table of terminal symbol insertion costs. The class of LL(1) grammars correctable by this method contains (with minor modifications) grammars used to specify most common programming languages. Preliminary results suggest that this method can be used to advantage in LL(1)-driven compilers.
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
|
Aho, A. V. and Peterson, T. G., A Minimum Distance Error-correcting Parser for Context-free Languages. SIAM Journal of Computing 1, 4, 305-312, 1972.
|
| |
2
|
|
 |
3
|
|
| |
4
|
DeRemer, F. L., Practical Translators for LR(k) Languages. Ph.D. Thesis, M.I.T., 1969.
|
| |
5
|
Ghezzi, C., LL(1) Grammars Supporting an Efficient Error Handling. Information Processing Letters 3, 6, 174-176, 1975.
|
 |
6
|
|
 |
7
|
|
| |
8
|
|
 |
9
|
|
| |
10
|
James, L. R., A Syntax Directed Error Recovery Method. M.S. Thesis, Univ. of Toronto, Computer Systems Research Group Tech. Rep. CSRG-13, May 1972.
|
| |
11
|
|
| |
12
|
|
| |
13
|
|
| |
14
|
|
 |
15
|
|
| |
16
|
|
| |
17
|
Rhodes, S. P., Practical Syntactic Error Recovery for Programming Languages. Ph.D. Thesis, Univ. of California, Berke Dept. of Comp. Sci. Tech. Rep. 15, 1973.
|
 |
18
|
|
|