Path: csiph.com!news.mixmin.net!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Tim Rentsch
Newsgroups: comp.lang.c
Subject: Re: C vs Haskell for XML parsing
Date: Tue, 29 Aug 2023 22:14:27 -0700
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <864jkhun64.fsf@linuxsc.com>
References: <576801fa-2842-40dc-bf19-221a5b1cf660n@googlegroups.com> <20230826123929.770@kylheku.com> <20230826210521.20@kylheku.com> <20230827151627.814@kylheku.com> <87edjocbqj.fsf@nosuchdomain.example.com> <86edjnxo81.fsf@linuxsc.com> <87ledubyeh.fsf@nosuchdomain.example.com> <861qfmwwvy.fsf@linuxsc.com> <20230828182115.305@kylheku.com> <875y4xboly.fsf@nosuchdomain.example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: dont-email.me; posting-host="4c89a4565799e8c35c4297e926df61af"; logging-data="2768880"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18dfFTlBKw4Jt7jtHr0UHT/yXP9gRWTr9E="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:ZFgEdkcp3ZFgiGSdyN8JAjYuTFI= sha1:QWmaObdXVXxn+G3+el3geS5+N9Y=
Xref: csiph.com comp.lang.c:173248
Keith Thompson writes:
> David Brown writes:
> [...]
>
>> Being able to accept $ in identifiers is a convenient extension.
>
> Quibble: $ in identifiers is not an extension as specified in section 4
> of the standard. Starting in C99, the set of characters accepted in
> identifiers is implementation-defined. (I'm not sure what difference
> that makes.)
In Annex J, J.5.2 gives adding $ to the set of characters that
can appear in identifiers as an example of a common extension.