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,4039d4e40ecde64c X-Google-Attributes: gid103376,public From: geert@fozzie.sun3.iaf.nl (Geert Bosch) Subject: Re: Ada to C translator Date: 1997/03/26 Message-ID: <5hapke$9g@fozzie.sun3.iaf.nl>#1/1 X-Deja-AN: 228458295 References: <5e7rd2$ve6$1@news.nyu.edu> <19970226043600.XAA02150@ladder02.news.aol.com> <01bc361b$94999000$fc00af88@godiva> Organization: La Calandre Infortunee Newsgroups: comp.lang.ada Date: 1997-03-26T00:00:00+00:00 List-Id: Keith Allan Shillington (keith@sd.aonix.com) wrote: Robert! Honestly. I'd heard a rumor that you were such a beast yourself!' :-) Of course, I suppose that pointing you at a C source and expecting a translation to Ada would be a very expensive operation..... Note that this is from C to Ada and besides that I think Robert Dewar has argued more than once that it is more useful to use pragma Import instead of translating C code. Even a few GNAT tools (gnatbl and gnatchp) still are C programs. In general an automatic conversion does not make a lot of sense and manual translation is expensive indeed. Regards, Geert PS. One of the nice properties of compilers is that when you feed them some source, they won't object but try to compile it anyway. Never encountered a compiler that said: "It doesn't make sense even trying to compile this code. First fix the layout, use descriptive identifiers and add comments where appropriate."