comp.lang.ada
 help / color / mirror / Atom feed
From: Wes Groleau <groleau+news@freeshell.org>
Subject: Re: Porting ADA source
Date: Mon, 19 Jul 2004 15:29:13 -0500
Date: 2004-07-19T15:29:13-05:00	[thread overview]
Message-ID: <H42dneGiMKGjsmHdRVn-jw@gbronline.com> (raw)
In-Reply-To: <DNKALW$BdEJj@eisner.encompasserve.org>

Larry Kilgallen wrote:
> What is the advantage of forbidding "string" ?

None that I know of.  But the powers that be when
the project started decreed that all predefined types
are non-portable, therefore all types must be subtyped
or derived from types created AND rep-spec'd for the
project.  Much of Standard and System was re-implemented
to support these types.  Character was the only predefined
type exempt (why was that different?), so arrays of Character
with "portable" index types were used instead of String.

Assigning string literals to these arrays was either
humorous or nerve-wracking, depending on how much
time pressure you were under.

Interestingly, string literals and character literals
were one of the Ada 95 conversion headaches.  :-)

-- 
Wes Groleau
http://groleau.freeshell.org/



  reply	other threads:[~2004-07-19 20:29 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-19  7:42 Porting ADA source Giacomo Polizzi
2004-07-19 11:04 ` Dale Stanbrough
2004-07-19 12:14   ` Marin David Condic
2004-07-19 18:46     ` tmoran
2004-07-20  0:44       ` Marin David Condic
2004-07-20 11:18       ` Peter C. Chapin
2004-07-20 11:41         ` Martin Dowie
2004-07-20 11:59           ` Marin David Condic
2004-07-20 13:02             ` Georg Bauhaus
2004-07-20 18:49             ` Jeffrey Carter
2004-07-20 22:51             ` Randy Brukardt
2004-07-21  0:35               ` Robert I. Eachus
2004-07-21 12:24                 ` Marin David Condic
2004-07-22 22:48                   ` Robert I. Eachus
2004-07-23 13:00                     ` Marin David Condic
2004-07-24  3:04                       ` Robert I. Eachus
2004-07-24 11:48                         ` Marin David Condic
2004-07-24 12:42                           ` Robert I. Eachus
2004-07-26 18:39                             ` Marin David Condic
2004-08-17  4:28               ` Ronald Price
2004-08-17 11:28                 ` Frank J. Lhota
2004-07-19 11:09 ` Adrian Knoth
2004-07-19 12:23 ` Porting Ada source Jacob Sparre Andersen
2004-07-19 18:05   ` Jean-Pierre Rosen
2004-07-19 13:39 ` Porting ADA source Steve
2004-07-20  0:54   ` Marin David Condic
2004-07-19 18:05 ` Martin Dowie
2004-07-19 19:33   ` Wes Groleau
2004-07-19 20:03     ` Larry Kilgallen
2004-07-19 20:29       ` Wes Groleau [this message]
2004-07-20 16:13         ` Martin Krischik
2004-07-19 21:36     ` Martin Dowie
2004-07-20 12:14       ` Frank J. Lhota
2004-07-20 12:27         ` Vinzent 'Gadget' Hoefler
2004-07-20 13:13 ` Peter Amey
2004-07-21  6:20 ` Volkert
2004-07-31 16:04 ` Richard  Riehle
replies disabled

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