属性文法的系统化描述
Systematic Debugging of Attribute Grammars
摘要:
虽然属性文法通常用于编译器构造,但很少有人对调试属性文法进行研究。本文提出了两种类型的系统调试方法,算法调试和基于切片的调试,都适合属性文法。通过与开发人员进行基于查询的交互,我们的调试方法有效地缩小了属性语法描述中的潜在错误空间,并最终识别出不正确的属性规则。我们已经将这项技术整合到我们的可视化调试工具Aki中。
英文摘要:
Although attribute grammars are commonly used for compiler construction, little investigation has been conducted on debugging attribute grammars. The paper proposes two types of systematic debugging methods, an algorithmic debugging and slice-based debugging, both tailored for attribute grammars. By means of query-based interaction with the developer, our debugging methods effectively narrow the potential bug space in the attribute grammar description and eventually identify the incorrect attribution rule. We have incorporated this technology in our visual debugging tool called Aki.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。