Title :
Error recovery in parsing relational languages
Author :
Tuovinen, Antti-Pekka
Author_Institution :
Dept. of Comput. Sci., Helsinki Univ., Finland
Abstract :
The ability to report syntactic errors and to recover from them are basic requirements for any programming environment where programs are parsed before execution. Advanced error handling techniques are standard tools when processing textual programs, whereas in the context of visual languages the problem is factually unexplored. We develop an error recovery strategy for the parsing algorithm for atomic relational grammars originally developed by K. Wittenburg (1996). We present a definition of parser defined syntax errors for Wittenburg´s parser by analyzing the possible parsing action failures and by showing how an explicit parse trace can be constructed to locate the errors. Then, we present two error recovery techniques, describe how they are integrated to the parses and discuss further directions
Keywords :
error handling; grammars; relational algebra; system recovery; visual languages; advanced error handling techniques; atomic relational grammars; error recovery strategy; explicit parse trace; parser defined syntax errors; parsing action failures; parsing algorithm; programming environment; relational language parsing; syntactic errors; textual programs; visual languages; Computer errors; Computer science; Electrical capacitance tomography; Failure analysis; Identity-based encryption; Mars; Programming environments;
Conference_Titel :
Visual Languages, 1998. Proceedings. 1998 IEEE Symposium on
Conference_Location :
Halifax, NS
Print_ISBN :
0-8186-8712-6
DOI :
10.1109/VL.1998.706128