Date of Award
6-1-2001
Document Type
Thesis (Undergraduate)
Department or Program
Department of Computer Science
First Advisor
Tom Cormen
Abstract
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.
Recommended Citation
Wong, Tiffany M., "An Implementation of Object-Oriented Program Transformation for Thought-Guided Debugging" (2001). Dartmouth College Undergraduate Theses. 13.
https://digitalcommons.dartmouth.edu/senior_theses/13
Comments
Originally posted in the Dartmouth College Computer Science Technical Report Series, number TR2001-395.