Re: Syntax

"Clive D.W. Feather" <clive@demon.net> Wed, 10 January 2007 10:15 UTC

Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1H4aUK-00035P-Ih; Wed, 10 Jan 2007 05:15:20 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1H4aUJ-00035J-Ur for cosmogol@ietf.org; Wed, 10 Jan 2007 05:15:19 -0500
Received: from anchor-internal-1.mail.demon.net ([195.173.56.100]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1H4aUB-0000uK-JS for cosmogol@ietf.org; Wed, 10 Jan 2007 05:15:19 -0500
Received: from finch-staff-1.server.demon.net (finch-staff-1.server.demon.net [193.195.224.1]) by anchor-internal-1.mail.demon.net with ESMTP� id l0AAFA6V009724Wed, 10 Jan 2007 10:15:10 GMT
Received: from clive by finch-staff-1.server.demon.net with local (Exim 3.36 #1) id 1H4aUA-0007jS-00; Wed, 10 Jan 2007 10:15:10 +0000
Date: Wed, 10 Jan 2007 10:15:10 +0000
From: "Clive D.W. Feather" <clive@demon.net>
To: Stephane Bortzmeyer <bortzmeyer@nic.fr>
Message-ID: <20070110101510.GA29148@finch-staff-1.thus.net>
References: <45A129E9.50905@gmx.de> <20070107205255.GA14621@sources.org> <45A20F62.9060306@gmx.de> <20070108204618.GA29407@sources.org> <20070109000704.GB17340@finch-staff-1.thus.net> <20070109081753.GA1875@nic.fr> <20070110055950.GA5608@finch-staff-1.thus.net> <20070110083134.GA24390@nic.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
In-Reply-To: <20070110083134.GA24390@nic.fr>
User-Agent: Mutt/1.5.3i
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 9ed51c9d1356100bce94f1ae4ec616a9
Cc: cosmogol@ietf.org
Subject: Re: Syntax
X-BeenThere: cosmogol@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: DIscussion on state machine specification in IETF protocols <cosmogol.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/cosmogol>, <mailto:cosmogol-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/cosmogol>
List-Post: <mailto:cosmogol@ietf.org>
List-Help: <mailto:cosmogol-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/cosmogol>, <mailto:cosmogol-request@ietf.org?subject=subscribe>
Errors-To: cosmogol-bounces@ietf.org

Stephane Bortzmeyer said:
> On Wed, Jan 10, 2007 at 05:59:50AM +0000,
>  Clive D.W. Feather <clive@demon.net> wrote 
>  a message of 70 lines which said:
> 
> > In identifiers.
> > 
> >     int xán;
> > 
> >     xán = getchar ();
> > 
> > is legal in the current C Standard.
> 
> Not yet implemented, then:

Sorry, I wasn't clear (and my memory was a bit loose).

The Standard says:

       An implementation may allow  multibyte
       characters  that  are not part of the basic source character
       set to appear in identifiers;  which  characters  and  their
       correspondence    to    universal    character    names   is
       implementation-defined.

An implementation *must* accept:

    int x\u00E1n;

It *may* accept:

    int xán;

and, if it does, the two names must [*] be interchangeable.

[*] Absent a level of language-lawyering that you really don't want to know
about.

-- 
Clive D.W. Feather  | Work:  <clive@demon.net>   | Tel:    +44 20 8495 6138
Internet Expert     | Home:  <clive@davros.org>  | Fax:    +44 870 051 9937
Demon Internet      | WWW: http://www.davros.org | Mobile: +44 7973 377646
THUS plc            |                            |

_______________________________________________
Cosmogol mailing list
Cosmogol@ietf.org
https://www1.ietf.org/mailman/listinfo/cosmogol