comp.lang.ada
 help / color / mirror / Atom feed
From: eachus@spectre.mitre.org (Robert I. Eachus)
Subject: Re: Delphi & Ada; Ada to C++
Date: 1998/03/05
Date: 1998-03-05T00:00:00+00:00	[thread overview]
Message-ID: <EACHUS.98Mar5180029@spectre.mitre.org> (raw)
In-Reply-To: 6cms2p$7pv$1@news.nyu.edu


In article <6cms2p$7pv$1@news.nyu.edu> kenner@lab.ultra.nyu.edu (Richard Kenner) writes:

 > Actually, generics can be translated in a relatively straightforward
 > manner since it's just macro substitution.  Exceptions are trickier,
 > but still can be done reasonable well.  The real hard cases are
 > variant records and unconstrained arrays.

   Most Ada generics are translatable as macro substitution, but the
devil is in the details. There are many instances where thunks or some
other mechanism is required to deal with freezing at the point (during
execution) of instantiation.  In most cases, all that changes at
run-time are ranges or array bounds, but it is also possible for the
binding of names to subprograms to change...

--

					Robert I. Eachus

with Standard_Disclaimer;
use  Standard_Disclaimer;
function Message (Text: in Clever_Ideas) return Better_Ideas is...




  reply	other threads:[~1998-03-05  0:00 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-02-13  0:00 Ada to C++ Translators David Kusuda
1998-02-14  0:00 ` Larry Kilgallen
1998-02-16  0:00   ` David  Weller
1998-02-18  0:00     ` Jean D. Ichbiah
1998-02-18  0:00       ` David  Weller
1998-02-18  0:00         ` Brian Rogoff
1998-02-21  0:00           ` Esa Pulkkinen
1998-02-23  0:00             ` Brian Rogoff
1998-02-19  0:00         ` Jean D. Ichbiah
1998-02-19  0:00           ` Larry Kilgallen
1998-02-25  0:00         ` Scott Leschke
1998-02-25  0:00           ` David  Weller
1998-02-19  0:00       ` Delphi & Ada; Ada to C++ Nick Roberts
1998-02-19  0:00         ` David  Weller
1998-02-19  0:00           ` Nick Roberts
1998-02-19  0:00             ` Jon S Anthony
1998-02-20  0:00               ` Nick Roberts
1998-02-21  0:00                 ` Richard Kenner
1998-02-21  0:00                   ` Robert Dewar
1998-02-21  0:00           ` Simon Wright
1998-02-21  0:00             ` Richard Kenner
1998-03-05  0:00               ` Robert I. Eachus [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-02-23  0:00 Marin David Condic, 561.796.8997, M/S 731-96
1998-02-24  0:00 ` Robert Dewar
1998-02-25  0:00   ` Jean-Pierre Rosen
1998-02-24  0:00 ` Dale Stanbrough
replies disabled

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