{"id":{"repo_id":"nps","oai_identifier":"oai:calhoun.nps.edu:10945/16001"},"canonical_url":"https://search.ndltd.org/etd/nps/oai:calhoun.nps.edu:10945/16001","repository":{"repo_id":"nps","name":"Naval Postgraduate School","base_url":"https://calhoun.nps.edu/server/oai/request"},"display":{"title":"An approach to automating syntax error detection recovery, and correction for LR(k) grammars.","abstract":"An automatic, language-independent syntax error detection, recovery, and correction system for LR(k) grammars is proposed. The requirement is made that the reverse of the grammar involved is also LR(k). The implications and justification for this requirement are discussed. Given that the grammar is both LR(k) and RL(k), forward and reverse parsers localize errors and define left and right error context providing a strong base from which error analysis may proceed. Possible deterministic and heuristic corrective actions to follow error analysis are presented. The definition and selection of keys from the set of terminal symbols for the grammar which enable the reverse parser to be engaged upon error detection are discussed. A model of the proposed system, implemented in an XPL compiler for a large ALGOL-like grammar, is described and the results of test programs are exampled and discussed. Possible extensions to the system are presented and areas requiring further analysis are defined.","abstract_html":"An automatic, language-independent syntax error detection, recovery, and correction system for LR(k) grammars is proposed. The requirement is made that the reverse of the grammar involved is also LR(k). The implications and justification for this requirement are discussed. Given that the grammar is both LR(k) and RL(k), forward and reverse parsers localize errors and define left and right error context providing a strong base from which error analysis may proceed. Possible deterministic and heuristic corrective actions to follow error analysis are presented. The definition and selection of keys from the set of terminal symbols for the grammar which enable the reverse parser to be engaged upon error detection are discussed. A model of the proposed system, implemented in an XPL compiler for a large ALGOL-like grammar, is described and the results of test programs are exampled and discussed. Possible extensions to the system are presented and areas requiring further analysis are defined.","abstract_has_math":false,"creators":["McGruther, Gordon T."],"institution":"Monterey, California. Naval Postgraduate School","degree_name":"M.S. in Computer Science","degree_level":"Masters","degree_discipline":"Computer Science","degree_department":"Mathematics","school":null,"contributors":[],"advisors":["Bolles, Robert C."],"committee_chairs":[],"committee_members":[],"year":1972,"date_issued":"1972-06","date_published":"1972-06","updated_at":"2026-11-20T22:16:17Z","subjects":["Computer science"],"languages":[],"rights":["This publication is a work of the U.S. Government as defined in Title 17, United States Code, Section 101. Copyright protection is not available for this work in the United States.","Approved for public release; distribution is unlimited."],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/10945/16001","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/10945/16001","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Anps%3Aoai%3Acalhoun.nps.edu%3A10945%2F16001","prefix":"oai_dc"},"source_record":{"url":"https://calhoun.nps.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Acalhoun.nps.edu%3A10945%2F16001","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Bolles, Robert C."]},{"key":"dc:contributor.department","label":"Department","values":["Mathematics"]},{"key":"dc:contributor.other","label":"Dc Contributor Other","values":["Naval Postgraduate School (U.S.)"]},{"key":"dc:creator","label":"Author","values":["McGruther, Gordon T."]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["June 1972"]},{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2012-11-13T23:42:01Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2012-11-13T23:42:01Z"]},{"key":"dc:date.issued","label":"Date","values":["1972-06"]},{"key":"dc:publisher","label":"Institution","values":["Monterey, California. Naval Postgraduate School"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Masters"]},{"key":"thesis:degree_name","label":"Degree Name","values":["M.S. in Computer Science"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Naval Postgraduate School"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject.keyword","label":"Dc Subject Keyword","values":["LR(k)","RL(k)","reverse parsing","deterministic and heuristic error correction","keys"]},{"key":"dc:subject.lcsh","label":"Dc Subject Lcsh","values":["Computer science"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:rights","label":"Dc Rights","values":["This publication is a work of the U.S. Government as defined in Title 17, United States Code, Section 101. Copyright protection is not available for this work in the United States.","Approved for public release; distribution is unlimited."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/10945/16001"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["An automatic, language-independent syntax error detection, recovery, and correction system for LR(k) grammars is proposed. The requirement is made that the reverse of the grammar involved is also LR(k). The implications and justification for this requirement are discussed. Given that the grammar is both LR(k) and RL(k), forward and reverse parsers localize errors and define left and right error context providing a strong base from which error analysis may proceed. Possible deterministic and heuristic corrective actions to follow error analysis are presented. The definition and selection of keys from the set of terminal symbols for the grammar which enable the reverse parser to be engaged upon error detection are discussed. A model of the proposed system, implemented in an XPL compiler for a large ALGOL-like grammar, is described and the results of test programs are exampled and discussed. Possible extensions to the system are presented and areas requiring further analysis are defined."]},{"key":"dc:description.uri","label":"Dc Description URI","values":["http://archive.org/details/anpproachtoutoma1094516001"]},{"key":"dc:title","label":"Title","values":["An approach to automating syntax error detection recovery, and correction for LR(k) grammars."]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]},{"key":"local:contributor.affiliation","label":"Local Contributor Affiliation","values":["Lieutenant Commander, United States Navy"]}]}],"canonical_facts":{"dc:contributor.advisor":["Bolles, Robert C."],"dc:contributor.department":["Mathematics"],"dc:contributor.other":["Naval Postgraduate School (U.S.)"],"dc:creator":["McGruther, Gordon T."],"dc:date":["June 1972"],"dc:date.accessioned":["2012-11-13T23:42:01Z"],"dc:date.available":["2012-11-13T23:42:01Z"],"dc:date.issued":["1972-06"],"dc:description.abstract":["An automatic, language-independent syntax error detection, recovery, and correction system for LR(k) grammars is proposed. The requirement is made that the reverse of the grammar involved is also LR(k). The implications and justification for this requirement are discussed. Given that the grammar is both LR(k) and RL(k), forward and reverse parsers localize errors and define left and right error context providing a strong base from which error analysis may proceed. Possible deterministic and heuristic corrective actions to follow error analysis are presented. The definition and selection of keys from the set of terminal symbols for the grammar which enable the reverse parser to be engaged upon error detection are discussed. A model of the proposed system, implemented in an XPL compiler for a large ALGOL-like grammar, is described and the results of test programs are exampled and discussed. Possible extensions to the system are presented and areas requiring further analysis are defined."],"dc:description.uri":["http://archive.org/details/anpproachtoutoma1094516001"],"dc:identifier.uri":["https://hdl.handle.net/10945/16001"],"dc:publisher":["Monterey, California. Naval Postgraduate School"],"dc:rights":["This publication is a work of the U.S. Government as defined in Title 17, United States Code, Section 101. Copyright protection is not available for this work in the United States.","Approved for public release; distribution is unlimited."],"dc:subject.keyword":["LR(k)","RL(k)","reverse parsing","deterministic and heuristic error correction","keys"],"dc:subject.lcsh":["Computer science"],"dc:title":["An approach to automating syntax error detection recovery, and correction for LR(k) grammars."],"dc:type":["Thesis"],"dspace:entity.type":["Publication"],"local:contributor.affiliation":["Lieutenant Commander, United States Navy"],"thesis:degree_discipline":["Computer Science"],"thesis:degree_level":["Masters"],"thesis:degree_name":["M.S. in Computer Science"],"thesis:institution_name":["Naval Postgraduate School"]},"updated_at":"2026-11-20T22:16:17Z"}