TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Forum View

Use Monospaced 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
Tucker Taft <[log in to unmask]>
Reply To:
Tucker Taft <[log in to unmask]>
Thu, 7 Jun 2001 09:31:11 -0400
text/plain (31 lines)
>    I have a requirement, where in i have to port the application written =
> in ADA to C++. Is there any tool available for porting ?.=20

AverCom has a technology for translating Ada 95 to pure C, or to
a subset of C++.  This technology is available in two forms,
one as an Ada 95 compiler, which just happens to use optimized
ANSI C as its intermediate representation.  This allows you
to continue to maintain the Ada source, while using a C or C++
compiler for the final compilation process.

In the other form, a one-time translation is performed,
carrying over the Ada comments and the Ada source
code structure into the generated C/C++.  Further
development is then done by editing the generated C/C++.
We have generally made this latter form available only as a service,
with a fee based on number of lines of code to be translated.

Of course switching to using C or C++ as the source language
involves significant loss in compile-time checking on any
further changes to the software.  Keeping with Ada as the
source language ensures that all of the compile-time and
run-time checking provided by Ada is continued during further
changes to the system.

> Thanks in Advance
> Prabhath S

Please let us know if you are interested further in this technology.

-Tucker Taft  [log in to unmask]