Date of Award

6-1-2001

Document Type

Thesis (Undergraduate)

Department

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.

Comments

Originally posted in the Dartmouth College Computer Science Technical Report Series, number TR2001-395.

Share

COinS