Print Email Facebook Twitter Natural and Flexible Error Recovery for Generated Modular Language Environments Title Natural and Flexible Error Recovery for Generated Modular Language Environments Author De Jonge, M. Kats, L.C.L. Soderberg, E. Visser, E. Faculty Electrical Engineering, Mathematics and Computer Science Department Software Computer Technology Date 2012-12-31 Abstract Author's version of the work published in: ACM Transactions on Programming Languages and Systems (TOPLAS), 34 (4), 2012; doi:10.1145/2400676.2400678. Integrated development environments (IDEs) increase programmer productivity, providing rapid, interactive feedback based on the syntax and semantics of a language. Unlike conventional parsing algorithms, scannerless generalized-LR parsing supports the full set of context-free grammars, which is closed under composition, and hence can parse languages composed from separate grammar modules. To apply this algorithm in an interactive environment, this paper introduces a novel error recovery mechanism. Our approach is language-independent, and relies on automatic derivation of recovery rules from grammars. By taking layout information into consideration it can efficiently suggest natural recovery suggestions. Subject languagesalgorithmsdesignerror recoverygeneralized parsing To reference this document use: http://resolver.tudelft.nl/uuid:c46d95b0-aae6-4dd9-aa9a-759bee35d577 Publisher Delft University of Technology, Software Engineering Research Group ISSN 1872-5392 Source Technical Report Series TUD-SERG-2012-021 Part of collection Institutional Repository Document type report Rights © 2012 The Author(s)ACM Files PDF TUD-SERG-2012-021.pdf 638 KB Close viewer /islandora/object/uuid:c46d95b0-aae6-4dd9-aa9a-759bee35d577/datastream/OBJ/view