Premium
Comparison of syntactic error handling in LR parsers
Author(s) -
Degano Pierpaolo,
Priami Corrado
Publication year - 1995
Publication title -
software: practice and experience
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.437
H-Index - 70
eISSN - 1097-024X
pISSN - 0038-0644
DOI - 10.1002/spe.4380250606
Subject(s) - computer science , lr parser , parsing , syntax , class (philosophy) , range (aeronautics) , natural language processing , artificial intelligence , programming language , parser combinator , materials science , composite material
Error recovery techniques for LR parsers presented in the literature are described and classified. The techniques considered range from the non‐correcting ones to interactive and incremental ones. Also, some of the techniques presented are compared and evaluated. An example showing the advantages and the disadvantages of each class of strategies is given and is used as a guideline for classifying syntax errors according to the recovery strategies which are more adequate to correct them.