comp.lang.ada
 help / color / mirror / Atom feed
From: frank@bigdog.engr.arizona.edu (Frank Manning)
Subject: Re: WANTED: Ada-to-C Translator
Date: 1996/10/12
Date: 1996-10-12T00:00:00+00:00	[thread overview]
Message-ID: <53p1ob$eae@news.ccit.arizona.edu> (raw)
In-Reply-To: JSA.96Oct11153945@alexandria


In article <JSA.96Oct11153945@alexandria> jsa@alexandria
(Jon S Anthony) writes:

> No, "NO!" means just that - no.  The bit you reference here concerns
> an Ada _compiler_ which happened to use C as a backend target (for
> "portability" and whatever...)  While a compiler is a translator, the
> original question seems to really be one concerning a translator which
> would produce _human_ readable/maintainable code for all future
> reference.  That is, you use it once and toss the source and start
> manually maintaining the output.  This sort of thing is _very_
> different and is the source of all the "NO"s...

Well, perhaps that was the intent of the original question, but I
had also brought up an old thread (Oct 95) about the merits of an
8051 Ada compiler. I wondered about using one of these C-backend-
compilers for that purpose, which would not require human readable
output. In other words, the idea is to write and maintain Ada code,
not do a one-time translation and maintain the C code.

I got plenty of opinion about what a dumb idea this is, but nobody
told me where I can get one of these compilers -- dumb or not.

Perhaps if I went into more detail about what I want. The application
would be classified as academic fiddling, I suppose. I have a Blue
Earth Micro-440 with a built-in Basic interpreter and low-level
assembler. I've written short programs in a mixture of Basic and
assembler, and I'd prefer to write in a compiled language that's
somewhat safer than C.

I recognize that a C-backend-compiler would be difficult to optimize,
as Erik Magnuson points out. However, compared to a Basic interpreter,
I could still get at least an order of magnitude better performance
with NO optimization AT ALL.

On the other hand, maybe I should just go with C. Less trouble in the
long run.

-- Frank Manning




  reply	other threads:[~1996-10-12  0:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-10-07  0:00 WANTED: Ada-to-C Translator Keith E. Nicewarner
1996-10-09  0:00 ` Ian Ward
1996-10-09  0:00   ` Frank Manning
1996-10-09  0:00   ` Larry Kilgallen
1996-10-09  0:00 ` Larry Kilgallen
1996-10-09  0:00 ` Robert Dewar
1996-10-10  0:00   ` Frank Manning
1996-10-14  0:00     ` David Weller
1996-10-25  0:00       ` sarner-ba-md
1996-10-11  0:00   ` Jon S Anthony
1996-10-12  0:00     ` Frank Manning [this message]
1996-10-12  0:00       ` Robert Dewar
1996-10-14  0:00   ` Corey Minyard
1996-10-16  0:00 ` Bev Lightfoot
replies disabled

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