Locally Least-Cost Error Correctors for Context-Free and Context-Sensitive Parsers
| dc.contributor.author | Dion, Bernard A. | en_US |
| dc.date.accessioned | 2012-03-15T16:29:25Z | |
| dc.date.available | 2012-03-15T16:29:25Z | |
| dc.date.created | 1978 | en_US |
| dc.date.issued | 1978 | |
| dc.description.abstract | A model of error correction is presented. Upon detection of a syntax error, a locally least-cost corrector operates by deleting 0 or more input symbols and inserting a terminal string that guarantees that the first non-deleted symbol will be accepted by the parser. The total correction cost, as defined by a table of deletion and insertion costs, is minimized. Previous work with the LL(1) parsing technique is summarized and a locally least-cost error corrector for LR(1)-based parsers is developed. Correctness as well as time and space complexity are discussed. In particular, linearity is established in the case of a bounded depth parse stack. Implementation results are presented. Attributed grammars can be used to specify the context-sensitive syntax of programming languages. A formal presentation of Attribute-Free LL(1) parsing is given and a locally least-cost error corrector for AF-LL(1) parsers is developed for the case in which the attributes that control context-sensitive correctness have finite domains. The algorithm is shown to have the same properties as its LL(1) and LR(1) counterparts. | en_US |
| dc.format.mimetype | application/pdf | en_US |
| dc.identifier.citation | TR344 | |
| dc.identifier.uri | http://digital.library.wisc.edu/1793/58130 | |
| dc.publisher | University of Wisconsin-Madison Department of Computer Sciences | en_US |
| dc.title | Locally Least-Cost Error Correctors for Context-Free and Context-Sensitive Parsers | en_US |
| dc.type | Technical Report | en_US |
Files
Original bundle
1 - 1 of 1