From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a9f89faeb8f41ad0 X-Google-Attributes: gid103376,public From: raw@cs.wisc.edu Subject: Re: ifdef replacement for GNAT Date: 1998/04/11 Message-ID: <6gpecb$rdf$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 343229092 References: <352287EE.1CFB@tolstoy.mdc.com> <352B8208.41C6@tolstoy.mdc.com> <86g1jm2gcf.fsf@zappa> Reply-To: raw@cs.wisc.edu X-Http-User-Agent: Mozilla/2.0 (compatible; MSIE 3.02; Win32) Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Sun Apr 12 04:02:20 1998 GMT Newsgroups: comp.lang.ada Date: 1998-04-11T00:00:00+00:00 List-Id: In article , 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