RUS  ENG
Full version
JOURNALS // Proceedings of the Institute for System Programming of the RAS // Archive

Proceedings of ISP RAS, 2025 Volume 37, Issue 6(3), Pages 121–132 (Mi tisp1094)

PereFlex: a tool for automated evaluation of error recovery in parsers

O. I. Bachishchea, Ya. S. Vorobievb, G. R. Raykina, D. V. Vasinaa, D. S. Shushakova, S. V. Grigor'evc

a ITMO University
b National Research University Higher School of Economics
c Saint Petersburg State University

Abstract: Error recovery is a critical component of parsing technology, particularly in applications such as IDEs and compilers, where a single syntax error should not prevent further analysis of the input. This paper presents PereFlex – a tool for extensive experimental evaluation of error recovery in JVM-based parsers. Our evaluation is based on real-world parsers for Java and users' erroneous programs. The results demonstrate that while some strategies are fast, they often fail to provide meaningful recovery, whereas advanced methods offer better recovery quality at the cost of increased computational overhead.

Keywords: error recovery, parsing, IDE, evaluation

Language: English

DOI: 10.15514/ISPRAS-2025-37(6)-40



© Steklov Math. Inst. of RAS, 2026