TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


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
jim hopper <[log in to unmask]>
Reply To:
jim hopper <[log in to unmask]>
Tue, 8 Jun 1999 20:04:22 -0400
text/plain (21 lines)
I tried various permutations of this script with limited success.
all the variations suggested and that i could think of only give the
lines added and deleted, not the source lines of code added/deleted.
it seems unfair to count mods this way as a single code change can be
counted as many lines changed.  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.

thanks jim
At a recent computer software engineering course in the US, the participants
were given an awkward question to answer.  "If you had just boarded an
airliner and discovered that your team of programmers had been responsible
for the flight control software, how many of you would disembark
                     unknown author