Repairing syntax errors in LR parsers

20Citations
Citations of this article
23Readers
Mendeley users who have this article in their library.

Abstract

This article reports on an error-repair algorithm for LR parsers. It locally inserts, deletes or shifts symbols at the positions where errors are detected, thus modifying the right context in order to resume parsing on a valid piece of input. This method improves on others in that it does not require the user to provide additional information about the repair process, it does not require precalculation of auxiliary tables, and it can be easily integrated into existing LR parser generators. A Yacc-based implementation is presented along with some experimental results and comparisons with other well-known methods.

Cite

CITATION STYLE

APA

Corchuelo, R., Pérez, J. A., Ruiz, A., & Toro, M. (2002). Repairing syntax errors in LR parsers. ACM Transactions on Programming Languages and Systems, 24(6), 698–710. https://doi.org/10.1145/586088.586092

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free