Source code comparison tools

"John R Levine" <>
19 Jan 2005 22:50:04 -0500

          From comp.compilers

Related articles
Source code comparison tools (John R Levine) (2005-01-19)
Re: Source code comparison tools (Derek M Jones) (2005-01-22)
Re: Source code comparison tools (David Spencer) (2005-01-22)
Re: Source code comparison tools (Ira Baxter) (2005-01-22)
Re: Source code comparison tools debray@CS.Arizona.EDU (2005-01-22)
| List of all articles for this month |

From: "John R Levine" <>
Newsgroups: comp.compilers
Date: 19 Jan 2005 22:50:04 -0500
Organization: Compilers Central
Keywords: tools, question
Posted-Date: 19 Jan 2005 22:50:04 EST

I'm working on a project where I'm trying to understand how a program
evolved. I have a bunch of snapshots of the C source code to work from.

It's easy enough to use the Unix diff program to compare the snapshots,
but it's much too low level. If someone changes the name of variable A to
B, diff sees that as a change every time the variable is referenced, but
it's really only one change.

I can hack up some preprocessing scripts to abstract out variable names,
indentation, and the like before handing the files to diff, but before I
do so, I'd like to see if there's existing tools I can use.

John Levine,, Primary Perpetrator of "The Internet for Dummies",
Information Superhighwayman wanna-be,, Mayor
"I dropped the toothpaste", said Tom, crestfallenly.

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.