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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,95d036084078aa89 X-Google-Attributes: gid103376,public From: fjh@cs.mu.oz.au (Fergus Henderson) Subject: Re: Compiling, binding, and linking an Ada prog. interfaced with C Date: 1998/08/04 Message-ID: <6q7hn8$nnk$1@mulga.cs.mu.OZ.AU>#1/1 X-Deja-AN: 377888799 References: <1998072706002200.CAA02664@ladder01.news.aol.com> <35BD28BF.A5B@atlas.otago.ac.nz> <6pn02g$2ue$1@mulga.cs.mu.OZ.AU> <6q28po$42j$1@mulga.cs.mu.OZ.AU> Organization: Computer Science, The University of Melbourne Newsgroups: comp.lang.ada Date: 1998-08-04T00:00:00+00:00 List-Id: dewar@merv.cs.nyu.edu (Robert Dewar) writes: ><probably what prompted us to invent the feature in the first place. >But the feature can be implemented quite easily even in an implementation >that does not normally translate to C. >>> > >No surprise! Yes, of course this is easy if you translate to C. But let's >have an example of implementing this where you do NOT translate into C. Do you mean where you do not translate this construct to C, or do you mean where the implementation as a whole does not normally translate things to C? Of course for this specific construct you need to implement it by translation to C. Asking to implement it otherwise would indeed be unreasonable. But there's no reason why an implementation that normally works by compiling directly to assembler or object files can't handle occurrences of this specific construct by translation to C. Would you be satisfied with an example of an implementation that does not normally translate to C++, but allows interfacing to C++ macros? I don't have one available right now, but one of the other members of the Mercury team said he would have a go at implementing this at some time in the future, and I don't expect that it will take him long to implement once he gets around to it. -- Fergus Henderson | "I have always known that the pursuit WWW: | of excellence is a lethal habit" PGP: finger fjh@128.250.37.3 | -- the last words of T. S. Garp.