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,58253cbf46bbb1fc X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!193.252.118.146.MISMATCH!news.wanadoo.fr!news.wanadoo.fr!not-for-mail Message-ID: <47B6936E.6040208@obry.net> Date: Sat, 16 Feb 2008 08:40:30 +0100 From: Pascal Obry Organization: Home - http://www.obry.net User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 Newsgroups: comp.lang.ada To: "Jeffrey R. Carter" Subject: Re: Automated conversion to C++? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Date: 16 Feb 2008 08:40:31 CET NNTP-Posting-Host: 82.124.113.223 X-Trace: 1203147631 news.orange.fr 898 82.124.113.223:3875 X-Complaints-To: abuse@orange.fr Xref: g2news1.google.com comp.lang.ada:19814 Date: 2008-02-16T08:40:31+01:00 List-Id: Jeffrey, > What objection? I said an Ada-to-C++ translator is impossible, unless > you want to do what SofCheck has done and supply a portable runtime to > support concurrency in the generated C++. Or use your Ada-to-C converter to convert the GNAT runtime written in Ada. Anyway, starting from the ASIS (XML or not) representation of the program may be a very very big task as you loose all the expanded code done by the compiler (and the proper sequence of calls to the runtime for the tasking support for example). It is probably best to start from the expanded tree... At least I would start there if I had to do that. Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://www.obry.net --| "The best way to travel is by means of imagination" --| --| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595