comp.lang.ada
 help / color / mirror / Atom feed
From: Florian Weimer <fw@deneb.enyo.de>
Subject: Re: Communications of ACM: Sir, Please Step Away from the ASR-33!
Date: Fri, 31 Dec 2010 15:26:38 +0100
Date: 2010-12-31T15:26:38+01:00	[thread overview]
Message-ID: <87ipya9fxd.fsf@mid.deneb.enyo.de> (raw)
In-Reply-To: ieecan$s8j$1@munin.nbi.dk

* Randy Brukardt:

> "Florian Weimer" <fw@deneb.enyo.de> wrote in message 
> news:8739pyk6j9.fsf@mid.deneb.enyo.de...
>>* Michael R.:
>>
>>> It's interesting that Ada has already stepped away from ASCII. Many
>>> of the test cases for my ZanyBlue.Text localization support library
>>> contain non-ASCII source, e.g., a test enumeration with identifiers
>>> containing Greek characters:
>>
>> Has the ARG sourted out the mess caused by the combination of
>> non-ASCII identifiers, case insensitivity, and mandatory conversion of
>> enumeration literals to upper case for output purposes?
>>
>> As far as I can tell, this is a classic choose-any-two situation.
>
> Yes, and I can show you the many answers that we have. :-)
>
> Seriously, the Ada 2005 standard really messed that up, and so far as I 
> know, no one ever actually implemented the rules as intended (GNAT surely 
> doesn't).

This matches my testing, but it was recently claimed on this newsgroup
that GNAT implements the standard accurately. 8-/

> I don't think any one would want to have, if the standard was
> followed to the letter, they would have to change the results of
> 'Image to *lower case* (because "convert to upper case" is defined
> as an mapping that maps to lower case characters -- oops) -- which
> of course would be seriously inconsistent with Ada 95 (that is a
> run-time change of results, the worst kind of incompatibility).

Oops indeed.

> We've discussed how to fix this, but a final decision hasn't been made yet. 
> See AI05-0227-1 and especially the discussion on it from the latest ARG 
> meeting (whose minutes I posted Tuesday) -- find both on www.ada-auth.org.

Are there any commercial users of this feature?  I'm sure that some
teaching material needs updating because the extended source character
set is regular used to hype Ada.  But it's very likely that students
will have trouble compiling such source code files, so this capability
will not be used in any central manner.

Myself, I would make the feature obsolescent, and give broad
permissions to implementations when they encounter non-ASCII source
code.  Spending any additional effort on this looks like a complete
waste to me.

By the way, every other HTTP request to www.ada-auth.org results in an
empty result for me.



  reply	other threads:[~2010-12-31 14:26 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-15 22:09 Communications of ACM: Sir, Please Step Away from the ASR-33! Michael R
2010-12-15 22:36 ` Florian Weimer
2010-12-17  0:53   ` Randy Brukardt
2010-12-31 14:26     ` Florian Weimer [this message]
2010-12-27 14:41 ` Jacob Sparre Andersen
2010-12-27 16:56   ` Georg Bauhaus
2010-12-27 17:45   ` Dmitry A. Kazakov
2010-12-27 18:41   ` Niklas Holsti
2010-12-27 20:40     ` Dmitry A. Kazakov
2010-12-28  9:32       ` Niklas Holsti
2010-12-28 10:13         ` Dmitry A. Kazakov
2010-12-28 11:01           ` Georg Bauhaus
2010-12-28 12:07             ` Dmitry A. Kazakov
2010-12-28 13:03               ` Georg Bauhaus
2010-12-28 13:56                 ` Dmitry A. Kazakov
2010-12-28 15:41                   ` Georg Bauhaus
2010-12-28 16:26                     ` Dmitry A. Kazakov
2010-12-29 12:56                       ` Georg Bauhaus
2010-12-29 14:52                         ` Dmitry A. Kazakov
2010-12-29 16:32                           ` Georg Bauhaus
2010-12-29 17:26                             ` Dmitry A. Kazakov
2010-12-29 19:31                               ` Georg Bauhaus
2010-12-29 23:35                                 ` Dmitry A. Kazakov
2010-12-30 18:28                                   ` Georg Bauhaus
2010-12-30 19:33                                     ` Dmitry A. Kazakov
2010-12-30 22:05                                       ` Simon Wright
2010-12-31  9:09                                         ` Dmitry A. Kazakov
2010-12-29 13:55                       ` Georg Bauhaus
2010-12-29 14:33                         ` Dmitry A. Kazakov
2010-12-28 14:39                 ` Simon Wright
2010-12-29 12:43                   ` Georg Bauhaus
2010-12-30 15:00 ` Marco
replies disabled

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