TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

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

Print Reply
Jean-Pierre Rosen <[log in to unmask]>
Wed, 9 Jun 1999 09:00:21 +0100
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