TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

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

Print Reply
Sender:
"Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
Subject:
From:
"R. Ebert" <[log in to unmask]>
Date:
Fri, 21 Mar 1997 15:40:22 +0100
In-Reply-To:
David Weller's message of Fri, 21 Mar 1997 07:47:03 -0600
Reply-To:
"R. Ebert" <[log in to unmask]>
Parts/Attachments:
text/plain (38 lines)
David Weller <[log in to unmask]> writes:

>
> > Anyone aware of a tool to compare Ada files for syntax differences?
>
> Hmm...it wouldn't be too hard to write...a Perl script that strips
> comments and stores the files into a temp location, then something
> like xdiff -wi on the offending files.
>
> The other option is to use ediff under Xemacs/GNU-Emacs.  It'll ignore
> whitespace, but not comments (there again, you could write elisp code
> to hide all comments in an Ada buffer (that's probably a good one to
> suggest to Rolf Ebert!), then run ediff.
>
> Both solutions are free.

Suggesting it to me is free of course :).  But that is not necessary
anymore as I added the suggestion to my TODO file.  I don't know when I
shall have time again to work on emacs-ada-mode, though.

>
> > Preferably not affected by line breaks either.
> >
> That's a little tougher.
>
> > Finally (if wishes were horses) has to be "free" software...
> >
> I know my solutions aren't "labor free", but we're talking less than
> 15 minutes of work, tops (unless, of course, you don't know Perl or
> elisp :-)
>
> --
> The Ada 95 Booch Components Homepage: www.rivatech.com << Note new URL!
>                    www.adahome.com: All Things Ada
>

        Rolf

ATOM RSS1 RSS2