comp.lang.ada
 help / color / mirror / Atom feed
* Re: Ada83 equivalents for Ada95
@ 1996-05-10  0:00 tmoran
  1996-05-11  0:00 ` Tucker Taft
  0 siblings, 1 reply; 18+ messages in thread
From: tmoran @ 1996-05-10  0:00 UTC (permalink / raw)



In <31927190.35AA@csehp3.mdc.com> James A. Squire asked:
>Has anybody gone to the trouble of translating code that uses features
>new to Ada95 back into its Ada83 equivalent?  If anyone knows of such
>examples that are available on the Internet, please let me know (email
  I too would be interested in seeing examples of techniques others
have used to approximate Ada 95 features in Ada 83.  Sometimes I'd
like to design something using Ada 95 constructs, but there is as
yet no adequate Ada 95 compiler for the target, while there is a
good Ada 83 compiler.  It would be nice to code with an eye toward
easing future changeover.  Surely this must be a common problem,
for which lots of folks have developed a set of techniques.




^ permalink raw reply	[flat|nested] 18+ messages in thread
[parent not found: <md5:492A761845FE7D43B3C33CDDC6DB8CD0>]
* Re: Ada83 equivalents for Ada95
@ 1996-05-25  0:00 tmoran
  0 siblings, 0 replies; 18+ messages in thread
From: tmoran @ 1996-05-25  0:00 UTC (permalink / raw)



>On a different but related topic, has anyone looked at designing Ada 83
>code so that the transition to using the *new* features of Ada 95 is as
>easy as possible.
  I'm currently trying to write some code that will use types with Access
discriminants in Ada 95, using Integers in Ada 83 where the integer is an
index into a table of entries of the Access-ed type.  Essentially doing
my own heap management for that type.  It's a bit kludgey in internal
implementation, but for the user of the package and type it seems a) not
too weird, and b) easily convertible.  If anyone has a better way,
though, I'd sure like to hear about it.  :)
  The problem with coding Ada 83 in the presence of Ada 95 is the pain
caused by seeing a simpler, less error-prone way to do something, while
knowing you must do it the clunky way.  :(




^ permalink raw reply	[flat|nested] 18+ messages in thread
[parent not found: <md5:0CCFC2005521EA8746533FEB9AA03D75>]

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

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-05-10  0:00 Ada83 equivalents for Ada95 tmoran
1996-05-11  0:00 ` Tucker Taft
     [not found] <md5:492A761845FE7D43B3C33CDDC6DB8CD0>
1996-05-10  0:00 ` James A. Squire
1996-05-11  0:00   ` Robert A Duff
  -- strict thread matches above, loose matches on Subject: below --
1996-05-25  0:00 tmoran
     [not found] <md5:0CCFC2005521EA8746533FEB9AA03D75>
1996-05-09  0:00 ` James A. Squire
1996-05-10  0:00   ` Robert A Duff
1996-05-24  0:00     ` Joe Gwinn
1996-05-25  0:00       ` JP Thornley
1996-05-28  0:00       ` Brad Balfour
1996-05-28  0:00         ` Robert A Duff
1996-05-29  0:00           ` Norman H. Cohen
1996-05-29  0:00           ` Ken Garlington
1996-05-28  0:00 ` Jon S Anthony
1996-05-29  0:00 ` Ken Garlington
1996-05-31  0:00   ` Robert Dewar
1996-06-03  0:00     ` Ken Garlington
1996-06-03  0:00       ` Robert Dewar

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