Systematic Debugging of Attribute Grammars
Abstract
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.
- Publication:
-
arXiv e-prints
- Pub Date:
- November 2000
- DOI:
- arXiv:
- arXiv:cs/0011029
- Bibcode:
- 2000cs.......11029I
- Keywords:
-
- Computer Science - Software Engineering;
- D.2.5
- E-Print:
- In M. Ducasse (ed), proceedings of the Fourth International Workshop on Automated Debugging (AADEBUG 2000), August 2000, Munich. cs.SE/0010035