Identifying the Semantic and Textual Differences Between Two Versions of a Program
University of Wisconsin-Madison Department of Computer Sciences
MetadataShow full item record
Text-based file comparators (e.g., the Unix utility diff) are very general tools that can be applied to arbitrary files. However, using such tools to compare programs can be unsatisfactory because their only notion of change is based on program text rather than program behavior. This paper describes a technique for comparing two versions of a program, determining which program components represent changes, and classifying each changed component as representing either a semantic or a textual change.