From: macrakis@gr.osf.org (Stavros Macrakis)
Subject: Re: Wanted: Ada to C conversion tools, suggestions, hints, etc.
Date: 30 Jan 91 08:46:05 GMT [thread overview]
Message-ID: <MACRAKIS.91Jan30034605@diderot.gr.osf.org> (raw)
In-Reply-To: carmi@ipla01.hac.com's message of 30 Jan 91 01:02:29 GMT
In article <13063@hacgate.UUCP> carmi@ipla01.hac.com (Aviram Carmi) writes:
I need to convert a large Ada program into C. Any pointers to a
program which will help me do this will be greatly appreciated.
Also, if anyone did such a conversion manually, I will appreciate
any hints, suggestions, etc.
I believe that the original version of Meridian's Ada compiler used C
as an intermediate language. I do not know if this is still true, but
you can contact them.
Since Ada's semantics are well-defined, and since C acts somewhat like
a portable assembler, you should be able to get code that runs
correctly out of such a translator.
But I do hope that you're not planning to maintain/enhance/modify the
resulting C code! It would be something like trying to maintain the
output of a compiler as a program.... You will have lost most of the
structure of the original (packages, types, etc.).
-s
Stavros Macrakis
Open Software Foundation Research Institute
Mail: 2 av de Vignate, 38610 Gieres (Grenoble), France
Net: macrakis@gr.osf.org
Phone: +33/76.63.48.82 Fax: +33/76.51.05.32
prev parent reply other threads:[~1991-01-30 8:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1991-01-30 1:02 Wanted: Ada to C conversion tools, suggestions, hints, etc Aviram Carmi
1991-01-30 8:46 ` Stavros Macrakis [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox