From: Marin David Condic <mcondic.auntie.spam@acm.org>
Subject: Re: Ada to C++ translator?
Date: Sat, 24 Feb 2001 14:22:37 -0500
Date: 2001-02-24T19:23:09+00:00 [thread overview]
Message-ID: <3A9809FD.D9194D0E@acm.org> (raw)
In-Reply-To: 3A97DFCD.3010503@acm.org
Thanks for the enlightment. I think my only point was that subsets of Ada existed
back in '83 (or thereabouts) so there isn't something new allowed in Ada that just
became available. As I recall - some of the Ada subset compilers also had the word
"Ada" in them somewhere - nothing wrong with that. I recall the DoD simply having a
concern that someone could start peddaling what they called "Ada" only without a
full implementation. (There were dozens of compilers at the time that called
themselves "Pascal" with no two exactly alike. So what did it mean to call a
compiler a "Pascal" compiler?) They wanted to be sure that if someone sold you a
compiler and called it "Ada" that it in fact implemented the whole of the language.
I don't think the situation is much different today - just maybe not as formal.
People still expect that if you label a compiler "Ada" that it has run the
validation suite and implements the full language.
MDC
Nick Williams wrote:
> Marin David Condic wrote:
>
> >> There's a difference between a compiler which doesn't support the full
> >> language and a project choosing not to use the full language!
>
> > And your point would be? :-) Seriously, I understand there is a distinction,
> > but I don't know that it makes any difference. SPARK is a chosen subset of
> > Ada and I'd presume that if one bought the SPARK compiler that it would
> > compile only the SPARK subset. (Or at least someone might choose to
> > implement a compiler for SPARK that way.)
>
> You'd have difficulty buying the SPARK compiler; as there isn't one :-)
>
> From the Ada perspective, SPARK is indeed a subset; since whatever is a valid
> SPARK program is also a valid Ada program, but the converse does not hold.
>
> However, just because an Ada program uses the subset of the Ada language which
> is valid in SPARK will (most likely) not make that program valid in SPARK: the
> SPARK language has a considerable variety of non-compilable statements (which
> look to an Ada compiler like comments) which are not optional when constructing
> SPARK programs. It also has restrictions on the use of language features which
> can make it harder to prove properties of your program.
>
> > (SPARK doesn't call itself "Ada" and isn't validated, right?)
>
> Well, the 'A' in SPARK does stand for Ada ... and the only validation is
> a relatively detailed and complete formal semantics of the language :-)
>
> Cheers,
>
> Nick.
--
=============================================================
Marin David Condic - Pace Micro - http://www.pacemicro.com/
Send Replies To: m c o n d i c @ a c m . o r g
Visit my web site at: http://www.mcondic.com/
"I'd trade it all for just a little more"
-- Charles Montgomery Burns, [4F10]
=============================================================
next prev parent reply other threads:[~2001-02-24 19:22 UTC|newest]
Thread overview: 70+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-09 19:17 Ada to C++ translator? Robert Brantley
2001-02-09 20:48 ` Britt Snodgrass
2001-02-09 23:35 ` Jeffrey Carter
2001-02-09 23:47 ` Brian Rogoff
2001-02-12 15:07 ` Ted Dennison
2001-02-12 15:49 ` Brian Rogoff
2001-02-13 19:36 ` Ted Dennison
2001-02-12 20:25 ` David C. Hoos, Sr.
2001-02-11 10:36 ` Gautier
2001-02-11 11:15 ` Pascal Obry
2001-02-11 11:15 ` Jean-Pierre Rosen
2001-02-12 10:36 ` David C. Hoos, Sr.
2001-02-11 13:15 ` Larry Kilgallen
2001-02-11 14:50 ` Ken Garlington
2001-02-11 15:58 ` Florian Weimer
2001-02-11 17:05 ` Aaro Koskinen
2001-02-15 23:47 ` Robert Brantley
2001-02-16 15:20 ` Ted Dennison
[not found] ` <cyik6.1725$DE.61421700@newssvr10-int.news.prodigy.com>
[not found] ` <%Wvk6.102$aw5.380@www.newsranger.com>
2001-02-21 0:33 ` Ken Garlington
2001-02-21 10:54 ` Ole-Hjalmar Kristensen
2001-02-21 12:40 ` Ken Garlington
2001-02-21 12:56 ` Ole-Hjalmar Kristensen
2001-02-21 18:36 ` Brian Rogoff
2001-02-21 19:05 ` Marin David Condic
2001-02-21 21:26 ` Simon Wright
2001-02-23 21:05 ` Marin David Condic
2001-02-24 8:38 ` Simon Wright
2001-02-24 16:22 ` Nick Williams
2001-02-24 19:22 ` Marin David Condic [this message]
2001-02-24 19:38 ` Ken Garlington
2001-02-25 15:21 ` Marin David Condic
2001-02-12 15:33 ` Ted Dennison
2001-02-12 22:34 ` UML (Was: Ada to C++ translator?) Frode Tennebø
2001-02-14 4:48 ` Ken Garlington
2001-02-14 6:19 ` Ray Blaak
2001-02-14 20:38 ` Nick Williams
2001-02-15 7:57 ` Ray Blaak
2001-02-15 11:14 ` Pierre Dissaux
2001-02-15 23:37 ` Ada to C++ translator? Robert Brantley
2001-02-16 0:34 ` tmoran
2001-02-16 4:59 ` Lao Xiao Hai
2001-02-16 15:20 ` Marin David Condic
2001-02-16 11:02 ` Tarjei T. Jensen
2001-02-16 13:34 ` Ken Garlington
2001-02-16 14:55 ` Marin David Condic
2001-02-16 21:04 ` tmoran
2001-02-16 15:44 ` Ted Dennison
2001-02-21 13:21 ` Bob Jacobs
2001-02-21 14:14 ` Ted Dennison
2001-02-21 14:59 ` Bob Jacobs
2001-02-21 15:58 ` Martin Dowie
2001-02-21 16:15 ` Bob Jacobs
2001-02-21 16:57 ` Ted Dennison
2001-02-22 1:39 ` Andrew Berg
2001-02-22 9:47 ` STL for Ada (was: Re: Ada to C++ translator?) Stefan Nobis
2001-02-22 15:20 ` Lutz Donnerhacke
2001-02-22 15:30 ` Ted Dennison
2001-02-22 17:55 ` Brian Rogoff
2001-02-22 9:09 ` Ada to C++ translator? Martin Dowie
2001-02-22 13:32 ` Bob Jacobs
2001-02-22 14:30 ` Ted Dennison
2001-02-22 9:17 ` Martin Dowie
2001-02-15 23:09 ` Robert Brantley
-- strict thread matches above, loose matches on Subject: below --
2001-02-22 10:40 gautier
2001-02-22 9:24 gautier
2001-02-22 10:21 ` Martin Dowie
2001-02-21 15:44 gautier
1998-02-04 0:00 Ada to C translator ? Stewart French
1998-02-05 0:00 ` Gautier
1994-11-16 13:10 Eric Labbe
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox