comp.lang.ada
 help / color / mirror / Atom feed
From: xanadu@ripco.com (Jennifer E. Lee)
Subject: Re: Ada95 to ANSI_C converter
Date: 1997/04/01
Date: 1997-04-01T00:00:00+00:00	[thread overview]
Message-ID: <5hrh21$2k$1@gail.ripco.com> (raw)
In-Reply-To: 333B2068.21CC@hiwaay.net


Philip Johnson  <philipj@hiwaay.net> wrote:
>Jennifer E. Lee wrote:
>> 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.
>
>Jennifer,
>
>Why not write the application in Ada95 and use the Language interface
>to "talk" to the HP Broadband system.  I am using a similar approach
>to a data acquisition system now.  I wrote a simple interface package
>to converse with the DAS driver dlls and it seems to be working fine.  
>This was a proof of concept activity that convinced the customer that
>Ada95 was a good choice.  I am now into the main project.
>
>

Phil,

Thank you, but how?
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.

My idea is, 

Ada95_to_ANSIC 
BEGIN
        IF case I := Ada to C conversion not gonna to work;
                THEN we have recode our client's OO Ada code to C;

        ELSE case II := there is an Ada to C convertor;
                THEN we let the converter to fix the conversion problem;
END
  
OK, another question. 
How do you use C to code like an OO Ada program?
Thank you in advance.
      
--
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




  reply	other threads:[~1997-04-01  0:00 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5hbrah$ctt$1@gail.ripco.com>
1997-03-26  0:00 ` Ada95 to ANSI_C converter Nick Roberts
1997-03-26  0:00   ` Robert Dewar
1997-03-27  0:00     ` Jennifer E. Lee
1997-03-28  0:00       ` Craig Franck
1997-03-28  0:00         ` Robert Dewar
1997-03-28  0:00     ` Steve Doiel
1997-03-28  0:00       ` Robert Dewar
1997-04-02  0:00         ` Richard Kenner
1997-04-02  0:00           ` Robert Dewar
1997-04-02  0:00             ` Robert A Duff
1997-04-04  0:00               ` Keith Thompson
1997-04-04  0:00                 ` Robert Dewar
1997-04-07  0:00                   ` Arthur Schwarz
1997-04-07  0:00                     ` Robert Dewar
1997-04-08  0:00                       ` Robert A Duff
1997-04-07  0:00                     ` Peter Seebach
1997-04-07  0:00                       ` Kaz Kylheku
1997-04-08  0:00                   ` Keith Thompson
1997-04-02  0:00             ` Richard Kenner
1997-04-02  0:00               ` Robert Dewar
1997-04-02  0:00       ` Richard Kenner
1997-04-03  0:00         ` Fergus Henderson
1997-03-27  0:00   ` Jennifer E. Lee
1997-03-27  0:00     ` Philip Johnson
1997-04-01  0:00       ` Jennifer E. Lee [this message]
1997-04-02  0:00         ` Philip E. Johnson
1997-04-03  0:00       ` Jon S Anthony
1997-03-28  0:00     ` Robert Dewar
1997-03-28  0:00       ` Craig Franck
1997-03-28  0:00         ` Robert Dewar
1997-04-01  0:00     ` Tom Wheeley
1997-04-01  0:00     ` David Kristola
1997-04-01  0:00       ` Jennifer E. Lee
1997-03-27  0:00   ` Craig Franck
1997-03-27  0:00     ` Jennifer E. Lee
1997-04-01  0:00   ` Robert I. Eachus
1997-03-27  0:00 ` Jeff Carter
1997-03-28  0:00 ` Jon S Anthony
1997-03-28  0:00 ` Jon S Anthony
1997-03-28  0:00   ` Robert Dewar
1997-04-02  0:00   ` Jon S Anthony
1997-04-03  0:00     ` Robert Dewar
1997-04-04  0:00     ` Jon S Anthony
1997-04-03  0:00   ` Jon S Anthony
1997-04-03  0:00     ` Robert Dewar
1997-04-03  0:00     ` Robert A Duff
1997-04-03  0:00       ` Robert Dewar
1997-04-04  0:00   ` Jon S Anthony
1997-04-04  0:00     ` Robert Dewar
1997-04-04  0:00     ` Robert Dewar
1997-04-07  0:00   ` Jon S Anthony
1997-04-07  0:00   ` Jon S Anthony
1997-03-31  0:00 ` David Emery
1997-03-31  0:00 ` Jon S Anthony
1997-03-31  0:00   ` Robert Dewar
1997-04-01  0:00   ` Robert A Duff
1997-04-03  0:00 ` Jon S Anthony
1997-04-03  0:00   ` Jennifer E. Lee
1997-04-04  0:00 ` Howard W. LUDWIG
1997-04-16  0:00 Dan Lehman
1997-04-17  0:00 ` Robert Dewar
1997-04-20  0:00   ` Nick Roberts
1997-04-20  0:00     ` Robert Dewar
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox