comp.lang.ada
 help / color / mirror / Atom feed
From: raw@cs.wisc.edu
Subject: Re: ifdef replacement for GNAT
Date: 1998/04/11
Date: 1998-04-11T00:00:00+00:00	[thread overview]
Message-ID: <6gpecb$rdf$1@nnrp1.dejanews.com> (raw)
In-Reply-To: dewar.892261504@merv


In article <dewar.892261504@merv>,
  dewar@merv.cs.nyu.edu (Robert Dewar) wrote:
> The Steelman requirements prohibited the inclusion of preprocessing in
> the Ada language, which may surprise you. What may surprise you more is
> that I and many others think this is a *good thing*.

The second statement did not surprise me; the first one did.  I looked at
Steelman at http://www.adahome.com/History/Steelman/steelman.htm
but I'm still not sure where it prohibits preprocessing.

It lists reliability and maintainability among the goals, which would imply
this but is not very specific.  It talks about conditional compilation; in
6C, it says "Only the selected branch shall be compiled when the
discriminating condition is a translation time expression." (regarding
the conditional control structure), so it would seem that Ada doesn't
need #ifdef because it has if.

I'd guess you meant the statement from 13G that "Translators shall do
full syntax and type checking" which would rule out text preprocessing
(given the various requirements on syntax and types); is this correct?

--
MJSR

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/   Now offering spam-free web-based newsreading




  reply	other threads:[~1998-04-11  0:00 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <352287EE.1CFB@tolstoy.mdc.com>
1998-04-08  0:00 ` ifdef replacement for GNAT John T Vegezzi 312C M 237110
1998-04-09  0:00   ` Robert Dewar
1998-04-10  0:00     ` Dirk Zoller
1998-04-10  0:00       ` Robert Dewar
1998-04-11  0:00         ` raw [this message]
1998-04-11  0:00         ` Larry Kilgallen
1998-04-11  0:00         ` nabbasi
1998-04-11  0:00           ` Larry Kilgallen
1998-04-13  0:00           ` Richard Kenner
1998-04-13  0:00         ` Michael F Brenner
1998-04-13  0:00           ` Larry Kilgallen
1998-04-15  0:00             ` Ada Programming Environment [was ifdef replacement for GNAT] Nick Roberts
1998-04-14  0:00         ` ifdef replacement for GNAT Jean-Pierre Rosen
1998-04-11  0:00       ` Geert Bosch
1998-04-12  0:00         ` Haug Buerger
1998-04-13  0:00           ` Aaro Koskinen
replies disabled

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