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,38159b1b5557a2e7 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-01-28 12:58:31 PST Path: archiver1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Standard Ada Preprocessor Date: 28 Jan 2004 20:55:14 +0000 Organization: Pushface Sender: simon@smaug.pushface.org Message-ID: References: <400BDB7C.40100@noplace.com> <400D2150.6000705@noplace.com> <400E72F9.8060501@noplace.com> <100upo7ln5e3k59@corp.supernews.com> <400FC8E8.2040100@noplace.com> <4011127C.4030801@noplace.com> <101377e54car5cc@corp.supernews.com> <4017AAEF.1020304@noplace.com> NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1075323510 10642 62.49.19.209 (28 Jan 2004 20:58:30 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Wed, 28 Jan 2004 20:58:30 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Xref: archiver1.google.com comp.lang.ada:5010 Date: 2004-01-28T20:55:14+00:00 List-Id: Marin David Condic writes: > Sure, isolate it in a body. Write a monograph about how to hide > compiler, target, OS, and other platform dependencies in a > body. I'll try to follow it. Now give me a way to select *which* > body I want via some standard compiler mechanism that I can count on > having available. Shell scripts, makefiles or other build process > mechanisms are simply pushing *that* problem off in another layer of > indirection - and its a non-portable, uncertain layer at that. I'm probably missing the point here, but as I recall the C side of things has a humungous incomprehensible heap of autoconf, m4, shell scripts, GNU make only, imake .. people are happy enough with that, where's the problem on the Ada side in selecting the right source file variant? I've just added support for arrays to my UML-to-Ada generator, under pressure. I _know_ I'm going to regret it, people are just bound to decide to (eg) implement their own associations using them rather than rely on the built-ins .. if you give people a bad feature they will use it badly. Of course the market rules here, shame really .. -- Simon Wright 100% Ada, no bugs.