From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00,INVALID_MSGID, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,b2011d0de07e01d2 X-Google-Attributes: gid103376,public From: "Jean-Pierre Rosen" Subject: Re: wanted: Ada diff tool Date: 2000/05/03 Message-ID: <8eot2o$kbm$1@wanadoo.fr>#1/1 X-Deja-AN: 618624889 References: X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 X-Complaints-To: abuse@wanadoo.fr X-Trace: wanadoo.fr 957347736 20854 193.250.160.5 (3 May 2000 09:55:36 GMT) Organization: Adalog X-MSMail-Priority: Normal NNTP-Posting-Date: 3 May 2000 09:55:36 GMT Newsgroups: comp.lang.ada Date: 2000-05-03T09:55:36+00:00 List-Id: Terry Westley a �crit dans le message : L_DP4.1$GS.1551@wdc-read-01.qwest.net... > Does anyone know of a difference tool which understands the syntax of Ada? > > Here's the context: > > We use Clearcase for configuration management. Clearcase provides a useful > merge facility for reconciling changes to one source file made by multiple > people. > > Unfortunately, it's based on a pretty simple diff tool. Most of the time > it's OK, > but sometimes I'd really like to know if the only changes to a file are > reformatting > or comment changes. Then I can better make decisions about what needs to > be tested or whether I even want to accept a specific change in certain > releases. > > Any suggestions? > On Adalog's component page (http://pro.wanadoo.fr/adalog/compo2.htm), you'll find a small utility called Normalize that processes an Ada source and removes comments, unnecessary spaces, and turns the whole text (except strings) upper-case. This is precisely intended to make a diff on the "semantic" part of the program. FWIW.... (I wrote this because of a lengthy discussion on this topic here some times ago. It turned out that it was faster to write the utility than to discuss about its desirability ;-) -- --------------------------------------------------------- J-P. Rosen (Rosen.Adalog@wanadoo.fr) Visit Adalog's web site at http://pro.wanadoo.fr/adalog