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-30 11:06:56 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!cs.tu-berlin.de!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: Standard Ada Preprocessor Date: Fri, 30 Jan 2004 19:06:56 +0000 (UTC) Organization: GMUGHDU Message-ID: References: <400E72F9.8060501@noplace.com> <100upo7ln5e3k59@corp.supernews.com> <400FC8E8.2040100@noplace.com> <_JSdna166JuxFo3dRVn-hg@comcast.com> <401115B7.5020205@noplace.com> NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1075489616 2204 134.91.1.34 (30 Jan 2004 19:06:56 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Fri, 30 Jan 2004 19:06:56 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/800)) Xref: archiver1.google.com comp.lang.ada:5117 Date: 2004-01-30T19:06:56+00:00 List-Id: Warren W. Gay VE3WWG wrote: : you : realize that line 905 of xyz.adb needs to be changed, : where must the real editing be done? Probably not the : file that the compiler used, because it was generated : by some other tool. Often what happens is the xyz.adb : gets edited, and the change is lost. Hm, how can that be when you have deterministic rules that will lead to one source text view given N configuration inputs? Of course programmers will have to be aware that they have to consider the configuration with care. :> this looks like assembly language to me, with all its flexibility. : : Yes, this is ugly, but not always _this_ ugly. Furthermore, : if this ugliness were confined only to thin bindings, I : could live with that. No Ada programmer wants to see this : throughout his project. : :> But why do we build higher level text structures and compilers? : : I don't understand your point here. Assembly language may be useful here and there but it seems like programming is mostly done in higher level languages. If configuration with conditionals in source files and assembly languge are considered analogous, my expectation is that it makes sense to create a higher level language for configuration. From another comment in this thread I conclude that ClearCase has something like this. -- Georg