|
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).
|
Peer to Peer - Readers of this Article have also read:
-
Data structures for quadtree approximation and compression
Communications of the ACM
28, 9
Hanan Samet
-
A hierarchical single-key-lock access control using the Chinese remainder theorem
Proceedings of the 1992 ACM/SIGAPP Symposium on Applied computing
Kim S. Lee
, Huizhu Lu
, D. D. Fisher
-
The GemStone object database management system
Communications of the ACM
34, 10
Paul Butterworth
, Allen Otis
, Jacob Stein
-
Putting innovation to work: adoption strategies for multimedia communication systems
Communications of the ACM
34, 12
Ellen Francik
, Susan Ehrlich Rudman
, Donna Cooper
, Stephen Levine
-
An intelligent component database for behavioral synthesis
Proceedings of the 27th ACM/IEEE conference on Design automation
Gwo-Dong Chen
, Daniel D. Gajski
|