On failure of the pruning technique in "error repair in shift-reduce parsers"

E Bertsch*, MJ Nederhof

*Corresponding author for this work

Research output: Contribution to journalArticleAcademicpeer-review

5 Citations (Scopus)

Abstract

A previous article presented a technique to compute the least-cost error repair by incrementally generating configurations that result from inserting and deleting tokens in a syntactically incorrect input. An additional mechanism to improve the run-time efficiency of this algorithm by pruning some of the configurations was discussed as well. In this communication we show that the pruning mechanism may lead to suboptimal repairs or may block all repairs. Certain grammatical errors in a common construct of the Java programming language also lead to the above kind of failure.

Original languageEnglish
Pages (from-to)1-10
Number of pages10
JournalAcm transactions on programming languages and systems
Volume21
Issue number1
Publication statusPublished - Jan-1999

Keywords

  • algorithms
  • languages
  • error repair

Fingerprint

Dive into the research topics of 'On failure of the pruning technique in "error repair in shift-reduce parsers"'. Together they form a unique fingerprint.

Cite this