A PRACTICAL MINIMUM DISTANCE METHOD FOR SYNTAX ERROR HANDLING

Authors
Citation
Ja. Dain, A PRACTICAL MINIMUM DISTANCE METHOD FOR SYNTAX ERROR HANDLING, Computer languages, 20(4), 1994, pp. 239-252
Citations number
33
Categorie Soggetti
Computer Sciences","Computer Science Software Graphycs Programming
Journal title
ISSN journal
00960551
Volume
20
Issue
4
Year of publication
1994
Pages
239 - 252
Database
ISI
SICI code
0096-0551(1994)20:4<239:APMDMF>2.0.ZU;2-L
Abstract
We present a method for recovering for syntax errors encountered durin g parsing. The method provides a form of minimum distance repair, has linear time complexity, and is completely automatic. A formal method i s presented for evaluating the performance of error recovery methods, based on global minimum-distance error correction. The minimum-distanc e error recovery method achieves a theoretically best performance on 8 0% of Pascal programs in the weighted Ripley-Druseikis collection. Com parisons of performance with other error recovery methods are given.