From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,a84eaf8fb2470909 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Ada generics Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <1166710494.869393.108730@a3g2000cwd.googlegroups.com> <17fe4xfogg7p5.1dcyc5nyc2gsl.dlg@40tude.net> <1166805696.291429.239590@48g2000cwx.googlegroups.com> <186qujlcx6rwl.1h6eq4mbdaa5s$.dlg@40tude.net> <1167150212.165097.289010@73g2000cwn.googlegroups.com> <1qmdvus6du3xu.1n21tzgev46ia$.dlg@40tude.net> <1167246396.057028.325080@48g2000cwx.googlegroups.com> <15jxp8z1iu5fk.1oeihvavjghgg$.dlg@40tude.net> <1167327306.22163.66.camel@localhost> <1on3cinnnckc5.1rxxvjhxs5qzl.dlg@40tude.net> <1a9k0vk46bqrq.1cx6cdld0wd9f$.dlg@40tude.net> <67adnc2Fg68OzgHYnZ2dnUVZ_rylnZ2d@megapath.net> Date: Thu, 4 Jan 2007 11:07:27 +0100 Message-ID: NNTP-Posting-Date: 04 Jan 2007 11:07:19 CET NNTP-Posting-Host: 2f77c0e4.newsspool1.arcor-online.net X-Trace: DXC=_C9eE0T7mic==]BZ:afn4Fo<]lROoRa^YC2XCjHcbi]QnSO56USPlDNcfSJ;bb[eIRnRBaCdg[P]mB`6GMCc X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:8069 Date: 2007-01-04T11:07:19+01:00 List-Id: On Wed, 3 Jan 2007 19:09:17 -0600, Randy Brukardt wrote: > "Dmitry A. Kazakov" wrote in message > news:1a9k0vk46bqrq.1cx6cdld0wd9f$.dlg@40tude.net... >> Yuck. Would "acce?" with Greek beta (?) and "if" with Cyrillic ? in it be >> valid identifiers? > > Sure, the upper case of a Greek beta is still a Greek beta, it's not "SS" > (and doesn't look anything like "ss", either). I don't know much about > Cyrillic, so I don't know the answer to that (but I suspect you do). My God. A good third of the Latin and Cyrillic glyphs are same. Practically all vowels are. That means that *any* reserved word of Ada can be spelt as a proper identifier! (and of course, there is no any chance to reverse this nightmare...) > It should be pointed out that one of the reasons for Ada's support of > Unicode is that we had a long discussion of how to support Latin-9 (which > contains the euro symbol). Eventually, we decided that that way lies > madness - at least by using Unicode, there is only one definition to worry > about, rather than a set of them. My only regret is that we didn't find a > way to include real runtime UTF-8 support in the language: it's wasteful to > store everything as 32-bit characters. Ah, that's because we still don't have proper subtypes in the language. If all strings were derived from the same root with no requirement to share the representation, we could add UTF-8 and 125xWide strings without any trouble. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de