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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,9d929352a358ccab X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Message-ID: <43D6B75B.A006CC1A@fakeaddress.nil> Date: Wed, 25 Jan 2006 00:25:15 +0100 From: Gautier Write-only X-Mailer: Mozilla 4.8 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada to C++ translator References: <1138132539.577082.206380@g43g2000cwa.googlegroups.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 213.3.58.68 X-Original-NNTP-Posting-Host: 213.3.58.68 X-Trace: news.bluewin.ch 1138145129 213.3.58.68 (25 Jan 2006 00:25:29 +0100) Organization: Bluewin AG Complaints-To: abuse@bluewin.ch X-Original-NNTP-Posting-Host: 127.0.0.1 Path: g2news1.google.com!news2.google.com!news4.google.com!news.glorb.com!wn14feed!worldnet.att.net!164.128.36.58!news.ip-plus.net!newsfeed.ip-plus.net!news.bluewin.ch!not-for-mail Xref: g2news1.google.com comp.lang.ada:2616 Date: 2006-01-25T00:25:15+01:00 List-Id: zangnew@gmail.com wrote: > I am looking for an Ada to C++ translator. The converter will only be > used as an intermediate step and not used on sections of code we will > be re-architecting to make use of C++ functionality. > > Thanks You. As Jeffrey pointed out, it is per se impossible. I can be possible that also basic Ada things like unconstrained array types cannot be translated without some OO overhead in C++. Any expert here ? It seems you are indeed looking for an Ada compiler producing C or C++ code (since you mention that the converter is an intermediate), and such tools exist. By googling a bit I found that one for instance: http://www.sofcheck.com/products/adamagic.html HTH _______________________________________________________________ Gautier -- http://www.mysunrise.ch/users/gdm/index.htm Ada programming -- http://www.mysunrise.ch/users/gdm/gsoft.htm NB: For a direct answer, e-mail address on the Web site!