Practical error recovery in LR parsing

Seppo Sippu, Eljas Soisalon-Soininen

Forskningsoutput: Kapitel i bok/rapport/konferenshandlingKonferensbidragVetenskapligPeer review


An automatic syntax error handling technique applicable to LR parsing is presented and analyzed. The technique includes a "phrase-level" error recovery strategy augmented with certain additional features such as "local correction". Attention has also been paid to diagnostic aspects, i.e. the automatic generation of error message texts. The technique has been implemented in the compiler writing system HLP (Helsinki Language Processor), and some promising experimental results have been obtained by testing the technique with erroneous student-written Algol and Pascal programs.
Titel på gästpublikationConference Record of the Ninth Annual ACM Symposium on Principles of Programming Languages : Papers Presented at the Symposium, Albuquerque, New Mexico, January 25-27, 1982
Antal sidor8
UtgivningsortNew York, NY
ISBN (tryckt)0-89791-065-6
StatusPublicerad - 1982
MoE-publikationstypA4 Artikel i en konferenspublikation
EvenemangAnnual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL) - Albuquerque, New Mexico, Förenta Staterna (USA)
Varaktighet: 25 jan 198227 jan 1982
Konferensnummer: 9


  • 113 Data- och informationsvetenskap

Citera det här