TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

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

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

Print Reply
"Robert I. Eachus" <[log in to unmask]>
Wed, 25 Nov 1998 14:57:07 -0500
text/plain (26 lines)
At 01:44 PM 11/24/98 -0800, Allen, Stephen wrote:
>My employer, Logicon, Inc. (
><> ) has a need to convert a legacy ADA 83 system to
>C/C++. Since this conversion project is already committed, I would
>appreciate your response should you know of any product or services that
>could be of help.

   Are you looking for a referral to a good psychiatrist, or a new job?

   Seriously, I have used C++ and Ada, and tried to convert both ways.
Converting C++ into Ada is not hard, but the reverse is very painful.  The
problem is not with any of the strengths or weaknesses, as such, of either
language, but with overloading.  In some areas you will have several
subprogram calls per line where you have to resolve WHICH operator or
function is (or should be) called.

   It might be worth using ASIS to design a tool to unambiguously resolve
every call in the source.  But if you are going that far, it is far easier
to convert the Ada 83 to Ada 95 and have done.

                                        Robert I. Eachus

with Standard_Disclaimer;
use  Standard_Disclaimer;
function Message (Text: in Clever_Ideas) return Better_Ideas is...