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,c0f035b936128b6c X-Google-Attributes: gid103376,public X-Google-Thread: 1014db,c0f035b936128b6c X-Google-Attributes: gid1014db,public From: xanadu@ripco.com (Jennifer E. Lee) Subject: Re: Ada95 to ANSI_C converter Date: 1997/03/27 Message-ID: <5henq6$b3m$1@gail.ripco.com>#1/1 X-Deja-AN: 228837581 References: <5hbrah$ctt$1@gail.ripco.com> <01bc3a3d$7734db20$63f482c1@xhv46.dial.pipex.com> Organization: Ripco Internet BBS, Chicago Newsgroups: comp.lang.ada,comp.lang.c Date: 1997-03-27T00:00:00+00:00 List-Id: Dear Nick, Thank you, what I meant is ANSI C now. Because C is NOT an OO language, and C is only a subset of C++. We can not convert C++ code back to C. Our system is an HP Broadband System which only knows C and TTCN. Since our project is about the side of 10K to 13K LOC. We believe that using an OO language like Ada95 would be a plus for us in term of debugging and integration at the testing phase. If we want to use C, at least we will look into how to code C like an Object-based language like Ada with "PACKAGE" usage. However, I really don't know how to do it without using CLASS and INHERENT definitions. Could you share your .02$ on this? Thanks. (A girl is crying for helps :^( ***) In article <01bc3a3d$7734db20$63f482c1@xhv46.dial.pipex.com>, Nick Roberts wrote: > >Jennifer E. Lee wrote in article ><5hbrah$ctt$1@gail.ripco.com>... >> Dear Ada & C gurus: >> >> We are looking for an "Ada95-to-ANSI_C" converter to run >> ATS (Abstract Test Suite) via HP Broadband Test System. >> Can anyone share his or her thoughts on this? >> Thank you in advance. > >This raises a few immediate questions. Do you mean ANSI C, or do you mean >ANSI C++ (as it evolves)? Must the converter be able to cope with any Ada >95 source text, or could certain things (such as representation clauses, >for example) be excused? > >It would probably be helpful to know about your application in a little >more detail, also. > >Essentially, this is a task which should be quite feasible, as long as a >moderately pragmatic approach is taken (IMHO!). > >Nick. > -- Love, Jennifer Ellen Lee (xanadu@ripco.com) ~@>*---~@>*---~@>*---~@>*---~@>*---~@>*---~@>*---~@>*---~@>*---~@>*---~@>*---~ I love life, I need food, but I'd rather die without democracy. "Ren Min Er Nu:, Shi De Ren Min." -- Wang Dan 1989