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: eachus@spectre.mitre.org (Robert I. Eachus) Subject: Re: Ada95 to ANSI_C converter Date: 1997/04/01 Message-ID: #1/1 X-Deja-AN: 229983555 References: <5hbrah$ctt$1@gail.ripco.com> <01bc3a3d$7734db20$63f482c1@xhv46.dial.pipex.com> Organization: The Mitre Corp., Bedford, MA. Newsgroups: comp.lang.ada,comp.lang.c Date: 1997-04-01T00:00:00+00:00 List-Id: In article <5hrh21$2k$1@gail.ripco.com> xanadu@ripco.com (Jennifer E. Lee) writes: > The HP Broadband Systems (HPBS) only recognizes ANSI C and TTCN > (Tree & Tabular Combined Notation) object codes. > Our clients want us to integrate their Ada95 OO code with our C codes > which is almost impossible IMHO because C is not an OO language. > How do we convert Ada's _package_, TEXT_IO, .... to HP's C function? > The HPBS is a validation device for us to emulate our clients' > SDH/SONNET/ATM networks. Have you looked at Annex B? It looks to me as if what you are trying to do here is interface to a low-level comm package. Get the Intermetrics C to Ada converter for the header files or just convert by hand, then build whatever higher level glue code you may need in Ada. But it sounds like what you really want is for HP or ACT (email to sales@gnat.com) to support the Ada distributed systems annex on top of HPBS. This would allow you to write completely in Ada and leave the low level marshalling and unmarshalling of data to the distribution the provided code. Of course you could just get the source and modify it yourself, but I get the impression that this is not something you want to do. -- Robert I. Eachus with Standard_Disclaimer; use Standard_Disclaimer; function Message (Text: in Clever_Ideas) return Better_Ideas is...