From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 Xref: utzoo comp.lang.ada:4781 comp.lang.c:35670 comp.lang.misc:6563 comp.sources.wanted:15084 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!snorkelwacker.mit.edu!paperboy!macrakis From: macrakis@gr.osf.org (Stavros Macrakis) Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.misc,comp.sources.wanted Subject: Re: Wanted: Ada to C conversion tools, suggestions, hints, etc. Message-ID: Date: 30 Jan 91 08:46:05 GMT References: <13063@hacgate.UUCP> Sender: news@OSF.ORG Organization: OSF Research Institute--Grenoble In-reply-to: carmi@ipla01.hac.com's message of 30 Jan 91 01:02:29 GMT List-Id: 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