Flexible Language-Agnostic Framework To Emit Informative Compile-Time Error Messages

0Citations
Citations of this article
1Readers
Mendeley users who have this article in their library.
Get full text

Abstract

It is observed that programmers encounter cryptic compiler error messages that are difficult to comprehend and hence inconvenient to resolve. Programmers spend a lot of their time in syntax error corrections. There is no universal tool that emits helpful descriptive error messages for all languages. In this paper, we propose a language-agnostic framework that detects syntax errors and produces error messages that are easy to comprehend. It allows domain experts to specify error messages for each type of syntax error. We use a novel approach wherein our framework provides the functionality of customizing error messages by providing a template for specifying the same. This makes it easier for novice programmers to understand the cause of compile-time errors in any programming language. Our results confirm that programmers prefer the enhanced error messages emitted by our framework over the standard error messages.

Cite

CITATION STYLE

APA

Nagalakshmi, M., Sharma, T., & Kumar, N. S. (2021). Flexible Language-Agnostic Framework To Emit Informative Compile-Time Error Messages. In Lecture Notes in Networks and Systems (Vol. 173 LNNS, pp. 859–868). Springer Science and Business Media Deutschland GmbH. https://doi.org/10.1007/978-981-33-4305-4_62

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