|inteligent diff? email@example.com (Norman Hilton) (1997-06-13)|
|Re: intelligent diff? firstname.lastname@example.org (1997-06-15)|
|Re: intelligent diff? email@example.com (1997-06-24)|
|From:||Norman Hilton <firstname.lastname@example.org>|
|Date:||13 Jun 1997 22:08:55 -0400|
|Keywords:||question, parse, comment|
I have a bungh of programs held under the SCCS source control program
and I want to be able to detect if the source of certain block
constructs has changed between revisions of a source file.
I have hacked together something using diff and awk, but
because the language is free-format it does not do the job
Does anyone have any tools to do the job better?
I have a yacc-based processor for the language, which builds
trees and then walks them. I could imagine building trees for
the old and new versions and then comparing. Does anyone
have algorithms for telling whether nodes have been added
or deleted when a difference occurs?
Norman Hilton (email@example.com)
[I believe I've seen work on comparing parse trees. -John]
Return to the
Search the comp.compilers archives again.