TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Classic View

Use Proportional Font
Show Text Part by Default
Condense Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Content-Transfer-Encoding: 7bit
Sender: "Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
From: Jean-Pierre Rosen <[log in to unmask]>
Date: Wed, 9 Jun 1999 09:00:21 +0100
Content-Type: text/plain; charset="iso-8859-1"
MIME-Version: 1.0
Reply-To: Jean-Pierre Rosen <[log in to unmask]>
Parts/Attachments: text/plain (20 lines)
>i have come to the conclusion the
>only way to do this is to run a pretty printer first on both versions
>that compresses all ada statements into single line statements, then
>run the script.  kind of painful since i have to write the code to
>compress the source code ;-)  oh well it was a nice idea for a while.
>
>if anyone knows of a pretty printer that will do this correctly for
>all ada constructs, please let me know.
>
I don't know if that's what you are looking for, but you can find a
utility called "normalize" on Adalog's web site
(http://pro.wanadoo.fr/adalog). It takes an Ada source code and puts
everything in uppercase, eliminates extra spaces and comments, etc.
The idea is to allow comparisons of the "meaningful" changes between
files.
Hope this helps.
---------------------------------------------------------
           J-P. Rosen ([log in to unmask])
Visit Adalog's web site at http://perso.wanadoo.fr/adalog

ATOM RSS1 RSS2