comp.lang.ada
 help / color / mirror / Atom feed
From: tore@lis.pitt.edu (Tore Joergensen)
Subject: Re: ADA to C converter, the dream ?
Date: 1996/02/22
Date: 1996-02-22T00:00:00+00:00	[thread overview]
Message-ID: <4ggdc2$jh2@toads.pgh.pa.us> (raw)
In-Reply-To: 3121E777.304D@afit.af.mil

Rusty Baldwin (rbaldwin@nvi.nvi.net) wrote:
: Thomas G. McWilliams wrote:
: > There exists a good Pascal to C translator called p2c available
: > in source code form (I think it might be GNU software). It might
: > serve as a rough basis on which to build something like this.
: > Perhaps you could run your Ada code through some Perl filters
: > and post-process with p2c. Very hackish, I know. Maybe a Modula
: > to C translator could be hacked more easily.
: Why don't you use the gnat (Ada 95) compiler.  It is a front end to the
: gcc compiler.  Perhaps there is a switch to generate C code??

C and C++ are two other front ends to the gcc compiler. I'm quite sure
that there isn't any switch for converting code between different 
front ends (wouldn't that be nice; C to C++ and Ada95 converter). BTW,
there are several other front ends too.
--
+-------------------------+-------------------------------------------+
| Tore B. Joergensen      | e-mail : tore@lis.pitt.edu                |
| Centre Court Villa      | web    : http://www.pitt.edu/~tojst1      |
| 5535 Centre Avenue # 6  |                                           |
| Pgh, PA 15232, USA      | Norwegian MSIS-student at Univ. of Pgh.   |
+-------------------------+-------------------------------------------+




  parent reply	other threads:[~1996-02-22  0:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4fn8bv$6d1@news.be.innet.net>
     [not found] ` <tgmDMoBMy.E94@netcom.com>
     [not found]   ` <3121E777.304D@afit.af.mil>
1996-02-17  0:00     ` ADA to C converter, the dream ? Robert Dewar
     [not found]     ` <3123749C.53AB@escmail.orl.mmc.com>
1996-02-17  0:00       ` Robert Dewar
1996-02-20  0:00         ` Richard A. O'Keefe
1996-02-20  0:00           ` Keith Thompson
1996-02-20  0:00             ` David Weller
1996-02-22  0:00       ` Tore Joergensen
1996-02-22  0:00     ` Tore Joergensen [this message]
1996-02-20  0:00 Simon Johnston
replies disabled

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