解析关系语言时的错误恢复

A. Tuovinen
{"title":"解析关系语言时的错误恢复","authors":"A. Tuovinen","doi":"10.1109/VL.1998.706128","DOIUrl":null,"url":null,"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.","PeriodicalId":185794,"journal":{"name":"Proceedings. 1998 IEEE Symposium on Visual Languages (Cat. No.98TB100254)","volume":"6 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1998-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"5","resultStr":"{\"title\":\"Error recovery in parsing relational languages\",\"authors\":\"A. Tuovinen\",\"doi\":\"10.1109/VL.1998.706128\",\"DOIUrl\":null,\"url\":null,\"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.\",\"PeriodicalId\":185794,\"journal\":{\"name\":\"Proceedings. 1998 IEEE Symposium on Visual Languages (Cat. No.98TB100254)\",\"volume\":\"6 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"1998-09-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"5\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings. 1998 IEEE Symposium on Visual Languages (Cat. No.98TB100254)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/VL.1998.706128\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings. 1998 IEEE Symposium on Visual Languages (Cat. No.98TB100254)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/VL.1998.706128","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 5

摘要

报告语法错误并从中恢复的能力是任何编程环境的基本要求,其中程序在执行前都要进行解析。高级错误处理技术是处理文本程序时的标准工具,而在可视化语言的上下文中,这个问题实际上是未知的。我们为最初由K. Wittenburg(1996)开发的原子关系语法的解析算法开发了一种错误恢复策略。我们通过分析可能的解析操作失败并展示如何构建显式解析跟踪来定位错误,为Wittenburg的解析器提供了解析器定义的语法错误的定义。然后,我们介绍了两种错误恢复技术,描述了如何将它们集成到解析中,并讨论了进一步的方向。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Error recovery in parsing relational languages
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.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信