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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1014db,c0f035b936128b6c X-Google-Attributes: gid1014db,public X-Google-Thread: 103376,c0f035b936128b6c X-Google-Attributes: gid103376,public From: davidk@OS7.ifs (David Kristola) Subject: Re: Ada95 to ANSI_C converter Date: 1997/04/01 Message-ID: <5hq6od$9e0@butch.lmsc.lockheed.com>#1/1 X-Deja-AN: 229810037 Distribution: world References: <5henq6$b3m$1@gail.ripco.com> Organization: Sun Microsystems, Inc. Reply-To: davidk@OS7.ifs Newsgroups: comp.lang.ada,comp.lang.c Date: 1997-04-01T00:00:00+00:00 List-Id: In article 1@gail.ripco.com, xanadu@ripco.com (Jennifer E. Lee) writes: >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 :^( ***) Might you be able to get an Ada compiler for your HP Broadband System? I was (pleasantly) surprised the other day when i learned that the C compiler that came with some embedded stuff we are using was actually GCC. If there is a GCC back end for your target, then a GNAT cross compiler should be possible. I am sure the folks at ACT would be glad to help (for a fee). HP might even be interested in seeing an Ada compiler for this system. --david kristola (not speaking for Lockheed Martin or SAMCO) Home: David95037 at aol dot com Work: davidk at os6 dot epc dot lmms dot lmco dot com Spam: eat-spam-and-die@dev.null