comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <Stephen.Leake@gsfc.nasa.gov>
Subject: Re: Environment variables
Date: 1996/11/04
Date: 1996-11-04T00:00:00+00:00	[thread overview]
Message-ID: <327DF7F2.2484@gsfc.nasa.gov> (raw)
In-Reply-To: dewar.847053776@merv


Bob Duff wrote:
> 
> "Robert, you have a strange definition of "extension".  I would say: This
> *is* an extension to the language.  Any Ada compiler can provide
> extensions of this nature (additional useful packages).  Other
> extensions that are explicitly allowed by the RM are additional pragmas
> and attributes.  Most extensions are of course DISallowed by the RM.
> 
> [snip]
> 
Robert Dewar wrote:

> This is just a matter of terminology of course, but by your definition ANY
> package provided with a compiler is an extension (there is nothing special
> about calling a package Ada.xxxx.yyy from this point of view). I do not
> find it useful to use the word extension in conjunction with packages (is
> it an extension of C if you allow C programs to call sockets stuff?)
> 
> [snip]

As the one that started this thread (by asking whether
Ada.Command_Line.Environment was an `extension'), I'd like to say I
agree with Robert Dewar's definition of `extension'; I was being sloppy.
On the other hand, I think it would be reasonable to say that
Ada.Command_Line.Environment is an extension of the "Ada 95 Predefined
Language Environment", which is defined in Annex A of the RM; obviously,
any package could be described this way, so it's not a very useful
description. 

In any case, as Laurent pointed, out, it IS possible to tell from the
sources that Ada.Command_Line.Environment is NOT defined by the Ada 95
RM, which is what I really wanted to know. However, it requires knowing
what the commenting style is in packages that are defined in the RM. I
think compiler-provided packages that are NOT defined by the RM should
be more clearly labeled as such, to make it easier to know when we are
being non-portable.

-- 
- Stephe




  reply	other threads:[~1996-11-04  0:00 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-10-30  0:00 Environment variables Christopher J Arnold
1996-10-30  0:00 ` David Taylor
1996-10-30  0:00 ` David Emery
1996-10-30  0:00   ` Robert Dewar
1996-10-30  0:00   ` Laurent Guerby
1996-11-02  0:00     ` Keith Thompson
1996-11-01  0:00   ` David Shochat
1996-11-02  0:00     ` Larry Kilgallen
1996-11-04  0:00       ` Michael F Brenner
1996-11-04  0:00         ` Larry Kilgallen
1996-11-12  0:00         ` Robert Dewar
1996-11-13  0:00           ` Norman H. Cohen
1996-11-14  0:00           ` Standard libraries (Was: Environment variables) Geert Bosch
1996-11-14  0:00             ` Robert Dewar
1996-11-16  0:00               ` Geert Bosch
1996-11-16  0:00                 ` Robert Dewar
1996-11-17  0:00                   ` Geert Bosch
1996-11-18  0:00                     ` Larry Kilgallen
1996-11-01  0:00   ` Environment variables Stephen Leake
1996-11-02  0:00     ` Robert Dewar
1996-11-03  0:00       ` Robert A Duff
1996-11-03  0:00         ` Robert Dewar
1996-11-04  0:00           ` Stephen Leake [this message]
1996-11-04  0:00             ` Robert Dewar
1996-11-04  0:00             ` Larry Kilgallen
1996-11-04  0:00         ` Tucker Taft
1996-11-01  0:00   ` Norman H. Cohen
1996-11-01  0:00   ` Laurent Guerby
1996-11-02  0:00     ` Robert Dewar
1996-11-02  0:00     ` Robert A Duff
1996-11-05  0:00   ` David Emery
1996-10-31  0:00 ` James Rogers
1996-10-31  0:00 ` Robert I. Eachus
1996-10-31  0:00   ` Doug Smith
1996-11-03  0:00   ` Matthew Heaney
1996-10-31  0:00 ` Norman H. Cohen
1996-11-06  0:00   ` David Wheeler
1996-11-08  0:00     ` Christopher J Arnold
1996-11-09  0:00     ` Robert Dewar
  -- strict thread matches above, loose matches on Subject: below --
1997-01-21  0:00 Environment Variables John M. Greer
1997-01-24  0:00 ` Mike Bishop
1997-01-24  0:00 ` Matthew Heaney
1997-01-25  0:00   ` Robert Dewar
1997-01-25  0:00 ` Doug Smith
1997-01-27  0:00 ` David Emery
replies disabled

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