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.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!wuarchive!decwrl!ucbvax!MBUNIX.MITRE.ORG!emery From: emery@MBUNIX.MITRE.ORG (Emery) Newsgroups: comp.lang.ada Subject: Flame moratorium and topic for serious discussion Message-ID: <8912060307.AA01210@mbunix.mitre.org> Date: 6 Dec 89 03:07:16 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet List-Id: I'd like to propose a moratorium to responding to flames like those from Ted Holden. Everyone is entitled to an opinion, but we don't have to dignify some with responses. Let's get back to real topics. Here's one: Should there be a 'standard' pre-processor for Ada (9X or otherwise)? If so, what should it support? Here's my initial list: #Defined literals the ability to 'import' a literal value from the external environment (i.e. ada -DA_NAME="A string value") gives the pre-processor constant A_NAME the string value "A string value" tests to see if a literal has been defined (#Ifdef) conditional compilation based on simple boolean expressions (#Ifdef, and (A="b") Right now I'm not convinced that macros are very important. Mostly they're used in C (from what I've seen) to get the effect of PRAGMA INLINE. I am a strong believer that if there is to be such a thing, it MUST be standard, so you can maintain the original source code (and NOT the output of the pre-processor). The C pre-processor is an integral part of C; no one would propose maintaining large systems using the post-processed C code. So, let's get back to technical issues. dave emery emery@armies.mitre.org Appropriate Quote:= "Who's the bigger fool, the fool, or the fool who argues with one?"