comp.lang.ada
 help / color / mirror / Atom feed
From: "Jean-Pierre Rosen" <rosen.adalog@wanadoo.fr>
Subject: Re: wanted: Ada diff tool
Date: 2000/05/03
Date: 2000-05-03T09:55:36+00:00	[thread overview]
Message-ID: <8eot2o$kbm$1@wanadoo.fr> (raw)
In-Reply-To: L_DP4.1$GS.1551@wdc-read-01.qwest.net

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1427 bytes --]


Terry Westley <twestley@buffalo.veridian.com> 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






  parent reply	other threads:[~2000-05-03  0:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-02  0:00 wanted: Ada diff tool Terry Westley
2000-05-02  0:00 ` Ted Dennison
2000-05-03  0:00 ` Geoff Bull
2000-05-03  0:00 ` Jean-Pierre Rosen [this message]
2000-05-03  0:00   ` james hopper
2000-05-04  0:00     ` Jean-Pierre Rosen
2000-05-04  0:00     ` Geoff Bull
2000-05-04  0:00       ` Ted Dennison
2000-05-05  0:00       ` Benjamin J. Robinson
2000-05-05  0:00         ` Ted Dennison
2000-05-04  0:00     ` Wes Groleau
2000-05-03  0:00   ` Brian Rogoff
     [not found] ` <tlivgsorsn19mtm29qi98c42tac8gnfleg@4ax.com>
2000-05-03  0:00   ` Robert A Duff
2000-05-03  0:00 ` James D. Veale
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox