comp.lang.ada
 help / color / mirror / Atom feed
From: "Dean F. Sutherland" <dfsuther@ux4.sp.cs.cmu.edu>
To: Robert Dewar <dewar@merv.cs.nyu.edu>
Subject: Re: The Red Language
Date: 1997/09/11
Date: 1997-09-11T00:00:00+00:00	[thread overview]
Message-ID: <3418390D.81B18056@ux4.sp.cs.cmu.edu> (raw)
In-Reply-To: dewar.873953773@merv


I guess that Robert is correct for the general case of specifying inline
expansion.  There's one specific case where I believe that the Gnal
"spec" does indeed reasonbly "mandate" inline expansion (possibly even
to Robert's satisfaction).

Routines with nam binding for their formals would seem to "require"
actual inline expansion.  (You'll recall from earlier in this thread
that nam binding specifies re-evaluation of the actual object expression
from the call site at each reference in the body of the routine.) 
Treating this as (fully semantically checked) macro expansion is the
obvious and straightforward way to achieve this effect.

On the other hand, I suppose that one _could_ do something with
carefully produced function closures or some other such hack (I mean
workaround) -- but I'm hard pressed to see why it would be worth the
effort.

A formalist might argue that, given the lack of a formal language
definition, the inline expansion "mandate" is no more than strongly
worded implementation advice.  Of course, this would also imply that
many common procurement specifications for compilation systems are also
no more than strongly worded implementation advice...

Dean




  reply	other threads:[~1997-09-11  0:00 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <340E2DC5.25D7@worldnet.att.net>
     [not found] ` <340ebdaf.230366903@news.mindspring.com>
     [not found]   ` <340ED5D8.2DEF6D3@ux4.sp.cs.cmu.edu>
1997-09-04  0:00     ` The Red Language Robert Munck
1997-09-07  0:00       ` Robert Dewar
1997-09-08  0:00         ` Richard Kenner
1997-09-12  0:00           ` David Wheeler
1997-09-12  0:00             ` Robert A Duff
     [not found]     ` <199709051335.PAA25952@basement.replay.com>
1997-09-05  0:00       ` Dean F. Sutherland
1997-09-08  0:00         ` Robert A Duff
1997-09-09  0:00           ` Arthur Evans Jr
     [not found]             ` <dewar.873953300@merv>
1997-09-11  0:00               ` Robert Dewar
1997-09-11  0:00                 ` Dean F. Sutherland [this message]
1997-09-12  0:00                   ` Robert A Duff
1997-09-11  0:00                 ` Arthur Evans Jr
1997-09-12  0:00                   ` Robert Dewar
1997-09-12  0:00                   ` Robert A Duff
1997-09-07  0:00 ` Robert Dewar
1997-09-08  0:00   ` Tucker Taft
1997-09-12  0:00 ` Robert A Duff
1997-09-12  0:00   ` Michael & Amy Hartsough
1997-09-13  0:00   ` Matthew Heaney
1997-09-14  0:00     ` Robert A Duff
1997-09-16  0:00       ` Brian Rogoff
1997-09-18  0:00         ` Robert A Duff
1997-09-18  0:00           ` Overload Resolution in Ada (Re: The Red Language) Brian Rogoff
1997-09-19  0:00             ` Robert A Duff
1997-09-19  0:00               ` Brian Rogoff
1997-09-20  0:00                 ` Robert Dewar
1997-09-19  0:00             ` Robert Dewar
1997-09-19  0:00           ` The Red Language Robert Dewar
1997-09-19  0:00             ` Robert A Duff
1997-09-21  0:00               ` Robert Dewar
1997-09-21  0:00                 ` Algol 68 references (Was Re: The Red Language) Brian Rogoff
1997-09-22  0:00                   ` Mark L. Fussell
1997-09-22  0:00                 ` The Red Language Richard Kenner
1997-09-22  0:00                 ` Chris Morgan
1997-09-22  0:00                 ` Richard A. O'Keefe
1997-09-25  0:00                   ` Bruce Link
1997-09-30  0:00               ` Charles Lindsey
1997-10-03  0:00                 ` Robert I. Eachus
1997-09-19  0:00             ` Brian Rogoff
1997-09-18  0:00         ` Robert Dewar
1997-09-18  0:00           ` Robert A Duff
1997-09-20  0:00             ` Robert Dewar
1997-09-22  0:00               ` Robert A Duff
1997-09-18  0:00         ` Robert Dewar
1997-09-18  0:00           ` Brian Rogoff
1997-09-16  0:00   ` Brian Rogoff
replies disabled

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