From: dewar@gnat.com (Robert Dewar)
Subject: Re: Make C++ via Ada95/Gnat ?
Date: 16 Aug 2001 18:22:43 -0700
Date: 2001-08-17T01:22:44+00:00 [thread overview]
Message-ID: <5ee5b646.0108161722.2bf90e39@posting.google.com> (raw)
In-Reply-To: 9lg0gs$9dv$1@snipp.uninett.no
Reinert Korsnes <Reinert.Korsnes@ffi.no> wrote in message news:<9lg0gs$9dv$1@snipp.uninett.no>...
> Hi,
>
> Is it possible/practical to produce C++ code by first making Ada95 code
> and then from this produce C++ (via Gnat) ? Just a bad idea ?
>
> (I would prefer to make/test Ada95 code rather than C++)
>
> reinert
No, it is not possible to translate Ada to C++ using GNAT, since
in no sense does GNAT translate Ada to either C or C++ during
compilation.
There is no technology I am aware of that can translate Ada code to
high level C++ code, nor is it easy to conceive of anything that
would achieve a 100% translation that resulted in useful and
readable C++, so the conception here is basically flawed. If you
want C++ you must write in C++ :-(
prev parent reply other threads:[~2001-08-17 1:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-16 8:30 Make C++ via Ada95/Gnat ? Reinert Korsnes
2001-08-16 9:22 ` Larry Kilgallen
2001-08-16 10:36 ` sk
2001-08-16 14:03 ` Larry Kilgallen
2001-08-16 12:01 ` Marc A. Criley
2001-08-17 1:22 ` Robert Dewar [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox