From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: sharp � and ss in Ada keywords like ACCESS
Date: Mon, 10 Oct 2011 17:25:17 -0500
Date: 2011-10-10T17:25:17-05:00 [thread overview]
Message-ID: <j6vrcf$e3$1@munin.nbi.dk> (raw)
In-Reply-To: 4e93381d$0$6545$9b4e6d93@newsspool4.arcor-online.net
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1199 bytes --]
"Georg Bauhaus" <rm.dash-bauhaus@futureapps.de> wrote in message
news:4e93381d$0$6545$9b4e6d93@newsspool4.arcor-online.net...
...
> I'd think that the simplest of the rules is to make "ss" and "�"
> the same, and ask programmers to relax. This has worked in Switzerland
> for many, many years.
That's what Unicode does. However, that would be incompatible and
inconsistent (that is, both compile-time and run-time incompatible) with Ada
95 identifiers. That would not be acceptable.
Thus, Ada 2012 uses a simpler rule (Ada 2005 just totally screwed this up,
and it has to be ignored). Thus "acce�" /= "access".
Also note that even if the conversion was allowed, the identifier "acce�"
would be illegal: 2.3(5.3/3) [and the equivalent rule in Ada 2005] makes it
illegal to have an identifier that is identical to a reserved word. And
reserved words use character-by-character case conversion - any case where
the number of characters change is not considered. Since Ada 2012 uses
"simple case folding", 2.3(5.3/3) doesn't have any impact, but if it had
used "full case folding", it would prevent words like the above.
Randy.
next prev parent reply other threads:[~2011-10-10 22:25 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-10 16:30 sharp ß and ss in Ada keywords like ACCESS Georg Bauhaus
2011-10-10 16:46 ` Adam Beneschan
2011-10-10 18:23 ` Georg Bauhaus
2011-10-10 22:25 ` Randy Brukardt [this message]
2011-10-11 7:36 ` sharp � " Dmitry A. Kazakov
2011-10-11 7:41 ` sharp ß " Yannick Duchêne (Hibou57)
2011-10-11 8:33 ` Dmitry A. Kazakov
2011-10-11 20:32 ` sharp � " Randy Brukardt
2011-10-12 7:43 ` Dmitry A. Kazakov
2011-10-12 9:42 ` J-P. Rosen
2011-10-12 12:09 ` Dmitry A. Kazakov
2011-10-12 20:17 ` sharp " Randy Brukardt
2011-10-12 21:18 ` Dmitry A. Kazakov
2011-10-11 17:33 ` sharp ß " Martin Krischik
2011-10-11 18:54 ` Adam Beneschan
2011-10-12 13:03 ` Georg Bauhaus
2011-10-12 13:48 ` Dmitry A. Kazakov
2011-10-12 18:24 ` Georg Bauhaus
2011-10-12 20:06 ` sharp � " Randy Brukardt
2011-10-12 20:48 ` sharp ß " Dmitry A. Kazakov
2011-10-12 22:56 ` sharp ß and ss in Ada keywords like AC CESS Georg Bauhaus
2011-10-13 8:10 ` Dmitry A. Kazakov
2011-10-13 12:13 ` Georg Bauhaus
2011-10-13 13:25 ` Dmitry A. Kazakov
2011-10-13 15:18 ` Georg Bauhaus
2011-10-13 19:17 ` Dmitry A. Kazakov
2011-10-11 7:33 ` sharp ß and ss in Ada keywords like ACCESS Yannick Duchêne (Hibou57)
2011-10-11 14:32 ` Adam Beneschan
2011-10-11 17:26 ` sharp ß and ss in Ada keywords like ACCESS (better not) Martin Krischik
2011-10-12 12:34 ` Georg Bauhaus
2011-10-10 17:22 ` sharp ß and ss in Ada keywords like ACCESS Simon Wright
2011-10-10 17:45 ` AdaMagica
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox