BIB-VERSION:: CS-TR-v2.0 ID:: ncstrl.dartmouthcs//TR2001-395 ENTRY:: June 05, 2001 ORGANIZATION:: Dartmouth College, Computer Science TITLE:: An Implementation of Object-Oriented Program Transformation for Thought-Guided Debugging TYPE:: Technical Report (paper) REVISION:: 1 AUTHOR:: Wong, Tiffany M. DATE:: June 2001 RETRIEVAL:: For a paper copy, email RETRIEVAL:: For a paper copy, write to Technical Report Librarian Department of Computer Science Dartmouth College 6211 Sudikoff Laboratory Hanover, NH 03755-3510 USA RETRIEVAL:: Compressed Postscript at http://www.cs.dartmouth.edu/reports/TR2001-395.ps.Z RETRIEVAL:: PDF at http://www.cs.dartmouth.edu/reports/TR2001-395.pdf 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. NOTE:: Senior Honors Thesis. Advisor: Tom Cormen END:: ncstrl.dartmouthcs//TR2001-395