comp.lang.ada
 help / color / mirror / Atom feed
* Anyone integrate Ada-83 with Ada-95
@ 1996-04-02  0:00 Scott Moody
  1996-04-03  0:00 ` Tucker Taft
  0 siblings, 1 reply; 3+ messages in thread
From: Scott Moody @ 1996-04-02  0:00 UTC (permalink / raw)


Has anyone integrated Ada-83 programs with GNAT Ada-95 programs?
I don't know if it makes sense, especially if both have tasking,
but I am trying to get the Orbis/OIS CORBA/Ada product to integrate with
my legacy Ada-83 code. (Migration to Ada-95 is non trivial for these programs - 
but planned someday:-)
 
My other approach is integration of C++ with Ada-83, which I also
haven't had success with. 

Thanks, and any help would be appreciated.

-scott 




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Anyone integrate Ada-83 with Ada-95
  1996-04-02  0:00 Anyone integrate Ada-83 with Ada-95 Scott Moody
@ 1996-04-03  0:00 ` Tucker Taft
  1996-04-04  0:00   ` Keith Thompson
  0 siblings, 1 reply; 3+ messages in thread
From: Tucker Taft @ 1996-04-03  0:00 UTC (permalink / raw)


Scott Moody (scott@plato.ds.boeing.com) wrote:
: Has anyone integrated Ada-83 programs with GNAT Ada-95 programs?
: I don't know if it makes sense, especially if both have tasking,
: but I am trying to get the Orbis/OIS CORBA/Ada product to integrate with
: my legacy Ada-83 code. (Migration to Ada-95 is non trivial for these programs - 
: but planned someday:-)

Ada 83 is a subset of Ada 95.  So you are really asking about
integrating Ada 95 with a subset of Ada 95.  There is no issue here,
unless you are concerned about style differences, perhaps.
Much of the code compiled by GNAT I am sure conforms to the
Ada 83 subset of Ada 95, since that is currently in what many of 
the reusable packages are written.

: Thanks, and any help would be appreciated.

: -scott 

-Tucker Taft   stt@inmet.com   http://www.inmet.com/~stt/
Intermetrics, Inc.  Cambridge, MA  USA




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Anyone integrate Ada-83 with Ada-95
  1996-04-03  0:00 ` Tucker Taft
@ 1996-04-04  0:00   ` Keith Thompson
  0 siblings, 0 replies; 3+ messages in thread
From: Keith Thompson @ 1996-04-04  0:00 UTC (permalink / raw)


In <DpAKwr.96K.0.-s@inmet.camb.inmet.com> stt@henning.camb.inmet.com (Tucker Taft) writes:
> Scott Moody (scott@plato.ds.boeing.com) wrote:
> : Has anyone integrated Ada-83 programs with GNAT Ada-95 programs?

> Ada 83 is a subset of Ada 95.  So you are really asking about
> integrating Ada 95 with a subset of Ada 95.  There is no issue here,
> unless you are concerned about style differences, perhaps.
> Much of the code compiled by GNAT I am sure conforms to the
> Ada 83 subset of Ada 95, since that is currently in what many of 
> the reusable packages are written.

Ada 83 is very nearly a subset of Ada 95.  There are some minor
incompatibilities (for example, an Ada 83 program that uses "tagged" as
an identifier is not a legal Ada 95 program), but they turn out not to
be much of a problem.  In fact, it's not uncommon for an entire large
program written in Ada 83 to compile without error under Ada 95.

What's likely to be a bigger problem is portability from
one implementation to another.  A program that depends on
implementation-defined attributes, pragmas, library units, or even
characteristics of the predefined types will require some work to port
to another implementation, whether the target implementation is Ada 83
or Ada 95.

You might want to just feed your existing Ada 83 code to your Ada 95
compiler and see what happens.

-- 
Keith Thompson (The_Other_Keith) kst@thomsoft.com
TeleSoft^H^H^H^H^H^H^H^H Alsys^H^H^H^H^H Thomson Software Products
10251 Vista Sorrento Parkway, Suite 300, San Diego, CA, USA, 92121-2718
This sig uses the word "Exon" in violation of the Communications Decency Act.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1996-04-04  0:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-04-02  0:00 Anyone integrate Ada-83 with Ada-95 Scott Moody
1996-04-03  0:00 ` Tucker Taft
1996-04-04  0:00   ` Keith Thompson

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