TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Forum View

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

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

Print Reply
Subject:
From:
"R. Ebert" <[log in to unmask]>
Reply To:
R. Ebert
Date:
Fri, 21 Mar 1997 15:40:22 +0100
Content-Type:
text/plain
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