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!news1.google.com!news.glorb.com!wns13feed!worldnet.att.net!attbi_s21.POSTED!53ab2750!not-for-mail From: "Jeffrey R. Carter" User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Automated conversion to C++? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 12.201.97.213 X-Complaints-To: abuse@mchsi.com X-Trace: attbi_s21 1203182430 12.201.97.213 (Sat, 16 Feb 2008 17:20:30 GMT) NNTP-Posting-Date: Sat, 16 Feb 2008 17:20:30 GMT Organization: AT&T ASP.att.net Date: Sat, 16 Feb 2008 17:20:30 GMT Xref: g2news1.google.com comp.lang.ada:19826 Date: 2008-02-16T17:20:30+00:00 List-Id: Maciej Sobczak wrote: > > What do you mean by "portable"? That it will compile and run > everywhere? Or that it can be linked with a run-time library prepared > for each target platform? As I thought was clear, I mean taking Ada source code and translating it into C++ source code that can be compiled and run on "any mainstream operating system". I was not talking about building a custom library, nor requiring the presence on the target of any library not supplied by the OS. > Hint: POSIX seems to be a commonly understood target for developing > portable concurrent systems. Problem 1: There are mainstream operating systems other than POSIX. Problem 2: This would not be an Ada-to-C++ translator, but an Ada-to-C++-and-Posix translator. > Hint2: Whatever was possible for C can be reused for C++ by inclusion. Problem 1: This would not be an Ada-to-C++ translator, but an Ada-to-C++-and-custom-library translator. -- Jeff Carter "Apart from the sanitation, the medicine, education, wine, public order, irrigation, roads, the fresh water system, and public health, what have the Romans ever done for us?" Monty Python's Life of Brian 80