Related articles |
---|
Are there any tools that can compare two source files satyanandam_g@hotmail.com (2001-12-07) |
Re: Are there any tools that can compare two source files joachim_d@gmx.de (Joachim Durchholz) (2001-12-11) |
Re: Are there any tools that can compare two source files sarath_kumar@mentorg.com (Sarath Kumar) (2001-12-15) |
Re: Are there any tools that can compare two source files nmm1@cus.cam.ac.uk (2001-12-19) |
Re: Are there any tools that can compare two source files joachim_d@gmx.de (Joachim Durchholz) (2001-12-20) |
Re: Are there any tools that can compare two source files torbenm@eir.diku.dk (2001-12-20) |
Re: Are there any tools that can compare two source files Martin.Ward@durham.ac.uk (2001-12-20) |
Re: Are there any tools that can compare two source files thp@cs.ucr.edu (2001-12-20) |
[2 later articles] |
From: | "Joachim Durchholz" <joachim_d@gmx.de> |
Newsgroups: | comp.compilers |
Date: | 11 Dec 2001 21:34:54 -0500 |
Organization: | Compilers Central |
References: | 01-12-027 |
Keywords: | tools |
Posted-Date: | 11 Dec 2001 21:34:54 EST |
Satyanandam Gullapudi <satyanandam_g@hotmail.com> wrote:
> I am
> looking for a tool which can generate the structure trees for the
> source file and compare them.
One of the Perl modules (algorithm::diff or something) can do the
comparison if you have the trees. You'll have to pass in a function that
recursively calls the diff function on the subtrees of a node, but it
looks very promising.
Not that Perl is the best choice for representing trees, of course.
Regards,
Joachim
Return to the
comp.compilers page.
Search the
comp.compilers archives again.