Are there any tools that can compare two source files

satyanandam_g@hotmail.com (Satyanandam Gullapudi)
7 Dec 2001 23:42:17 -0500

          From comp.compilers

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)
[5 later articles]
| List of all articles for this month |

From: satyanandam_g@hotmail.com (Satyanandam Gullapudi)
Newsgroups: comp.compilers
Date: 7 Dec 2001 23:42:17 -0500
Organization: http://groups.google.com/
Keywords: tools, question
Posted-Date: 07 Dec 2001 23:42:17 EST

Hi,
I am looking for some tool which is more than simple text diff. I am
looking for a tool which can generate the structure trees for the
source file and compare them. It should not throw errors if the
structure is just re-arragned.


i.e,
Assuming A, B are independent,


struct A
{..}
union B
{..}


is functionally similar to


Union B
{..}
Struct A
{..}


Also, the tool should be intelligent enough to handle rearranged
structure members.


Struct A
{
    int a,
    int b
};


is same as


Struct A
{
    int b,
    int a
}


Are there any open source code-generators that can generate C++ code
using the structure trees generated by copilers like gcc ?


Thanks in advance.
Satya


Post a followup to this message

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