[comp.lang.c] Wanted: Ada to C conversion tools, suggestions, hints, etc.

carmi@ipla01.hac.com (Aviram Carmi) (01/30/91)

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 will summarize any EMail replies to the net.

Thank You,
Avi Carmi    EMail: carmi@ipla01.hac.com  Phone: (818) 702-3179
--

Avi Carmi (carmi@ipla01.hac.com)

macrakis@gr.osf.org (Stavros Macrakis) (01/30/91)

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