From: Eric S. Raymond Date: Sat, 13 Sep 2003 00:12:10 +0000 (+0000) Subject: More about normalization. X-Git-Tag: 1.5~3 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=445b470d25c320c025d960aafdaaa87fe4558228;p=comparator.git More about normalization. --- diff --git a/comparator.xml b/comparator.xml index 6538990..685bbc7 100644 --- a/comparator.xml +++ b/comparator.xml @@ -54,6 +54,13 @@ cliques of lines with duplicate hashes, with overlapping ranges merged. The output format can (not by coincidence) be stepped through with the next-error function of Emacs. +A consequence of the method is that +comparator will find common code segments +wherever they are. It is insenstive to rearrangements of the source +trees. With appropriate options, code can be normalized at input to +ignore differences in whitespace and (in C code) brace placenent. An +option to strip comments also exists + The program is capable of generating a hash list for a source code tree which can be used in place of the tree itself. Thus, it is possible to do comparisons with source trees without having access to