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

Citation
E. Bertsch et Mj. Nederhof, On failure of the pruning technique in "error repair in shift-reduce parsers", ACM T PROGR, 21(1), 1999, pp. 1-10
Citations number
4
Categorie Soggetti
Computer Science & Engineering
Journal title
ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS
ISSN journal
01640925 → ACNP
Volume
21
Issue
1
Year of publication
1999
Pages
1 - 10
Database
ISI
SICI code
0164-0925(199901)21:1<1:OFOTPT>2.0.ZU;2-Q
Abstract
A previous article presented a technique to compute the least-cost error re pair by incrementally generating configurations that result from inserting and deleting tokens in a syntactically incorrect input. An additional mecha nism to improve the run-time efficiency of this algorithm by pruning some o f the configurations was discussed as well. In this communication we show t hat the pruning mechanism may lead to suboptimal repairs or may block all r epairs. Certain grammatical errors in a common construct of the Java progra mming language also lead to the above kind of failure.