Wanted: Ada to C conversion tools, suggestions, hints, etc.
Stavros Macrakis
macrakis at gr.osf.org
Wed Jan 30 19:46:05 AEST 1991
In article <13063 at hacgate.UUCP> carmi at 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 at gr.osf.org
Phone: +33/76.63.48.82 Fax: +33/76.51.05.32
More information about the Comp.lang.c
mailing list