comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.not.jrcarter@acm.not.spam.org>
Subject: Re: Avatox 1.0: Trouble with encoding in Windows
Date: Thu, 14 Sep 2006 21:16:01 GMT
Date: 2006-09-14T21:16:01+00:00	[thread overview]
Message-ID: <lEjOg.187763$1i1.48666@attbi_s72> (raw)
In-Reply-To: <1158224191.059815.103080@i42g2000cwa.googlegroups.com>

Martin Krischik wrote:
> 
> Well, that effectivly means we all need to compile with:
> 
>          "-gnatiw",                          -- Wide-character codes
> allowed in identifiers
>          "-gnatW8",                          -- UTF-8 encoding
> 
> in order to be fully ASIS compatible. Good to know that both VIM and
> new GPS 4.0 support Utf-8.

I'm sure no one will agree with me, but I don't see the value of 
allowing characters outside 'a' .. 'z' & 'A' .. 'Z' in Ada identifiers. 
Ada is designed to read like English, so in most cases identifiers 
should be in English.

if Something then

makes sense, but

if Kelko_Koza then

doesn't (and it doesn't even use characters not generally found in English).

Of course, this argues that each language should have its own set of 
reserved words. In many cases that could be achieved by a preliminary 
translation phase that converts the reserved words into Ada's English 
reserved words. For a truly international language, instead of reserved 
words, maybe we should have symbols:

? Kelko_Koza =>
    ...
?? Koza_2 =>
    ...
?=>
    ...
?<;

That smacks too much of C for my tastes.

-- 
Jeff Carter
"Nobody expects the Spanish Inquisition!"
Monty Python's Flying Circus
22



  reply	other threads:[~2006-09-14 21:16 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-11  8:24 Avatox 1.0: Trouble with encoding in Windows Manuel Collado
2006-09-11 10:35 ` Georg Bauhaus
2006-09-11 13:49   ` Avatox 1.1: " Manuel Collado
2006-09-11 16:43     ` Georg Bauhaus
2006-09-11 17:50     ` Björn Persson
2006-09-12  0:06       ` Marc A. Criley
2006-09-12  8:35         ` Manuel Collado
2006-09-13  0:01   ` Avatox 1.0: " Randy Brukardt
2006-09-13  9:01     ` Georg Bauhaus
2006-09-13 19:28       ` Björn Persson
2006-09-14  6:34         ` Georg Bauhaus
2006-09-14 23:09           ` Björn Persson
2006-09-14 22:13         ` Björn Persson
2006-09-16  7:40         ` Martin Krischik
2006-09-16  9:43           ` Björn Persson
2006-09-16  9:59             ` Georg Bauhaus
2006-09-16 11:15               ` Björn Persson
2006-09-17  9:30             ` Martin Krischik
2006-09-13 10:32     ` Manuel Collado
2006-09-13 18:28       ` Björn Persson
2006-09-14  8:11         ` Manuel Collado
2006-09-13 23:05       ` Randy Brukardt
2006-09-13 11:04     ` vgodunko
2006-09-14  8:56       ` Martin Krischik
2006-09-14 21:16         ` Jeffrey R. Carter [this message]
2006-09-14 22:55           ` Björn Persson
2006-09-15 23:15             ` Jeffrey R. Carter
2006-09-16  7:38             ` Martin Krischik
2006-09-17 19:41               ` Jeffrey R. Carter
2006-09-15  5:47           ` Martin Krischik
2006-09-15 23:16             ` Jeffrey R. Carter
2006-09-16  7:31               ` Martin Krischik
2006-09-17 19:43                 ` Jeffrey R. Carter
2006-09-15  9:41           ` Georg Bauhaus
2006-09-15 23:28             ` Jeffrey R. Carter
2006-09-16  9:52               ` Georg Bauhaus
2006-09-16 10:31               ` Björn Persson
2006-09-17 19:57                 ` Jeffrey R. Carter
2006-09-18  0:06                   ` Björn Persson
2006-09-18 20:14                     ` Jeffrey R. Carter
2006-09-16  5:10             ` Simon Wright
2006-09-15 18:11           ` Pascal Obry
2006-09-15 18:53             ` Dmitry A. Kazakov
2006-09-15 22:29               ` Georg Bauhaus
2006-09-16  7:46                 ` Dmitry A. Kazakov
2006-09-15 23:35             ` Jeffrey R. Carter
2006-09-15  5:34         ` Simon Wright
2006-09-12  9:52 ` Stephen Leake
2006-09-19  1:16   ` Marc A. Criley
2006-09-19  9:20     ` Stephen Leake
replies disabled

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