ACM Home Page
Please provide us with feedback. Feedback
A forward move algorithm for LL and LR parsers
Full text pdf formatPdf (558 KB)
Source Symposium on Compiler Construction archive
Proceedings of the 1982 SIGPLAN symposium on Compiler construction table of contents
Boston, Massachusetts, United States
Pages: 79 - 87  
Year of Publication: 1982
ISBN:0-89791-074-5
Also published in ...
Authors
Jon Mauney  University of Wisconsin-Madison
Charles N. Fischer  University of Wisconsin-Madison
Sponsor
SIGPLAN: ACM Special Interest Group on Programming Languages
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 4,   Downloads (12 Months): 24,   Citation Count: 5
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues   peer to peer  

Tools and Actions: Review this Article  
Save this Article to a Binder    Display Formats: BibTex  EndNote ACM Ref   
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/800230.806982
What is a DOI?

ABSTRACT

A wide variety of algorithms have been suggested for the repair of syntactic errors in a computer program. Since there is usually more than one possible repair for any syntax error, many algorithms employ a cost function to guide the the repair, and some [1,3,4,6], guarantee that the repair chosen will be least-cost, according to some definition. (The others, although guided by costs, do not guarantee least-cost in all cases.) Fischer et al. [4,6,7] define a “locally least-cost” repair using insertions and deletions, and provide algorithms for LL and LR parsers. A locally least-cost repair is a least-cost sequence of deletions and insertions such that one more symbol in the original string will be accepted by the parser. Backhouse [2,3] uses a similar definition. In both cases, the repair algorithms operate by examining a single symbol in the input at any time.


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, Alfred V. and Thomas G. Peterson , "A minimum distance error correcting parser for context-free languages," SIAM Journal of Computing 1, 4, pp. 305-312 (1972).
2
 
3
 
4
Fischer, Charles N., Bernard A. Dion, and Jon Mauney, "A Locally Least-Cost LR Error-Corrector," ACM Transaction on Programming Languages and Systems, (to appear).
 
5
Fischer, Charles N. and Jon Mauney, "On the role of error productions in syntactic error correction," Computer Languages 5, pp. 131-139 (1981).
 
6
Fischer, Charles N., Donn R. Milton, and Jon Mauney, "A locally least-cost LL(1) error corrector," Tech. Report #371, University of Wisconsin (August 1979).
 
7
Fischer, Charles N., Donn R. Milton, and Sam B. Quiring, "Efficient LL(1) error correction and recovery using only insertions," Acta Informatica 13, 2, pp. 141-154 (1980).
8
9
10
 
11
Levy, J. P., "Automatic correction of syntax errors in programming languages," Acta Informatica 4, pp. 271-292 (1975).
 
12
13
14
 
15
Ripley, G. David and Frederick C. Druseikis, "A Statistical Analysis of Syntax Errors," Computer Languages 3, pp. 227-240 (1978).
 
16
Tai, Kuo Chung, "Syntactic error correction in programming languages," IEEE Trans on Software Engineering SE-4, 5, pp. 414-425 (1978).


Collaborative Colleagues:
Jon Mauney: colleagues
Charles N. Fischer: colleagues

Peer to Peer - Readers of this Article have also read: