Date of Award
Department of Computer Science
This paper presents our design and implementation of program transformation for C++ that will be used in the context of a thought-guided debugging system. The program uses a lexical analyzer written in Flex and a grammar written in Bison that work in conjunction to scan the inputted C++ code for function definitions and class definitions. The code is then transformed to produce trace information for each defined function, while the original functionality of the code is left untouched. We also implement two additional data structures that are used for information storage during the course of the program.
Wong, Tiffany M., "An Implementation of Object-Oriented Program Transformation for Thought-Guided Debugging" (2001). Dartmouth College Undergraduate Theses. 13.