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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d79d55198abf90d8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2000-09-19 18:00:08 PST Path: supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!nntp2.deja.com!nnrp1.deja.com!not-for-mail From: Robert Dewar Newsgroups: comp.lang.ada Subject: Re: Conditional Compilation Date: Wed, 20 Sep 2000 00:47:34 GMT Organization: Deja.com - Before you buy. Message-ID: <8q91f0$pr$1@nnrp1.deja.com> References: <7FEFA9E5E3B3C4A5.90418F4BE7D5AE58.48E094CF81EC6BD3@lp.airnews.net> <39C7C748.4A533989@netwood.net> NNTP-Posting-Host: 205.232.38.240 X-Article-Creation-Date: Wed Sep 20 00:47:34 2000 GMT X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; I) X-Http-Proxy: 1.0 x71.deja.com:80 (Squid/1.1.22) for client 205.232.38.240 X-MyDeja-Info: XMYDJUIDrobert_dewar Xref: supernews.google.com comp.lang.ada:732 Date: 2000-09-20T00:47:34+00:00 List-Id: In article <39C7C748.4A533989@netwood.net>, "E. Robert Tisdale" wrote: > The ANSI/ISO C/C++ standards now specify > syntax and semantics for the C macro preprocessor > but you can still use the C macro preprocessor > on Ada source files as long as the translation unit > is an acceptable Ada program. > Try it. It works. Well almost, the requirement of valid C tokens causes trouble with constructions like Integer'Val (x)! > Now, professional programmers almost never write > programs in Ada, C, C++ or any other standard > computer programming language directly. > They usually use perl, the m4 macro preprocessor, > the sed stream editor or some combination of tools > to write programs for them from "prototype files" > which they maintain instead of source files. In fact the percentage of programming done this way, particularly in large Ada programs, is quite small, and the applicability of such techniques is quite limited. The "almost never" in the above paragraph is a huge exaggeration. Sent via Deja.com http://www.deja.com/ Before you buy.