Practical error recovery in LR parsing
Practical error recovery in LR parsing
复制标题
LR解析中的实用错误恢复
DOI:
10.1145/582153.582173
复制
发表时间:
1982
期刊:
影响因子:
--
通讯作者:
E. Soisalon
中科院分区:
文献类型:
--
作者:
S. Sippu;E. Soisalon
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.