comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: Ada -> C or C++ translator
Date: Tue, 18 Jun 2002 23:41:43 GMT
Date: 2002-06-18T23:41:43+00:00	[thread overview]
Message-ID: <wcc7kkwxih4.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: 3D0DD57A.5000402@yahoo.com

David Rasmussen <pinkfloydhomer@yahoo.com> writes:

> I know that some Ada features don't have portable counterparts in C or 
> C++ (like concurrency), but does some sort of translator exist from Ada 
> to C or C++? It could use C or C++ as an Intermediate Representation 
> language similar to what the Comeau C/C++ compiler does. This way, one 
> could do the development with Ada and have all the advantages of Ada, 
> and end up with hopefully more correct code, and then for the release, 
> one could translate to C or C++ and use some of the very effecient 
> compilers for these languages. I realize that the support of some parts 
> of Ada's runtime system (like exceptions) wont be intact, but for 
> projects where this isn't important, such a translator could still be 
> useful.
> 
> Does such a translator exist?
> 
> /David

The AverCom (was AverStar, was Intermetrics) AdaMagic compiler can
generate C code.  (It also generates machine code on various targets.)

It supports the full language, including exceptions, tasking, etc (but
not the optional annexes).  (It's not *easy* to translate Ada's
exceptions into C, but it is possible.)

E-mail to Tucker Taft (stt@avercom.net) if you are interested.

- Bob



  parent reply	other threads:[~2002-06-18 23:41 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-17 12:26 Ada -> C or C++ translator David Rasmussen
2002-06-17 12:51 ` Martin Dowie
2002-06-17 12:59   ` David Rasmussen
2002-06-17 14:21     ` Larry Kilgallen
2002-06-17 14:19       ` David Rasmussen
2002-06-28 18:40       ` pontius
2002-06-29  1:47         ` tmoran
2002-07-01 14:30           ` pontius
2002-07-03 15:16         ` Robert I. Eachus
2002-07-13 22:55           ` David Thompson
2002-06-18 23:41 ` Robert A Duff [this message]
2002-06-19  0:21   ` exceptions and C functions (was Re: Ada -> C or C++ translator) Dale Stanbrough
2002-06-19  1:44     ` Robert A Duff
2002-06-19 14:32       ` Wes Groleau
2002-06-19 17:33         ` Robert A Duff
2002-06-19 17:58           ` Wes Groleau
2002-06-19 19:17             ` Robert A Duff
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox