Path: csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: _BitInt(N) Date: Fri, 28 Nov 2025 19:38:06 -0800 Organization: None to speak of Lines: 40 Message-ID: <871plhbja9.fsf@example.invalid> References: <10dajlh$ko3c$1@dont-email.me> <10g53au$3onvh$1@dont-email.me> <10g58pa$3r273$1@dont-email.me> <10g6bpp$60nh$1@dont-email.me> <10g6qek$bfrp$1@dont-email.me> <10g742m$ev96$2@dont-email.me> <10g779l$h980$1@dont-email.me> <10g7aci$icq7$1@dont-email.me> <10g7hm2$lpsu$1@dont-email.me> <10g7oqf$ojir$1@dont-email.me> <10g7ue4$r47b$1@dont-email.me> <10g9a0r$1a895$1@dont-email.me> <10g9fmh$1crf0$1@dont-email.me> <10g9i5e$1dpa3$1@dont-email.me> <10ga0sd$1jb9e$1@dont-email.me> <10ga3hn$1kv34$1@dont-email.me> <10gb1md$203ao$2@dont-email.me> <10gc28l$2c8jt$1@dont-email.me> <875xatbv2s.fsf@example.invalid> <10gddie$2tgu4$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Sat, 29 Nov 2025 03:38:07 +0000 (UTC) Injection-Info: dont-email.me; posting-host="8a10e3489b5bb769265ae6bad33df840"; logging-data="3180270"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19OJWuSD2FYJUQKm6i15eMI" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:N/7RSYPZ4yuMYnXp4rAq9TpDn7Q= sha1:LILlYX6UxYdFZ2m68acPnTrt5Rs= Xref: csiph.com comp.lang.c:395564 bart writes: > On 28/11/2025 23:23, Keith Thompson wrote: >> bart writes: >>> On 28/11/2025 02:33, Janis Papanagnou wrote: >> [...] >>>> You can of course add as many commodity features to "your language" >>>> as you like. I seem to recall that one of the design principles of >>>> "C" was to not add too many keywords. (Not sure whether 'A.odd' is >>>> a function or keyword above [in "your language"].) >>> >>> It is a reserved word, which means it can't be used as either a >>> top-level user identifier, or a member name. With extra effort, it >>> could be used for both, but that needs some special syntax, such as >>> Ada-style "A'odd"; I've never got around to it. >>> >>> In Pascal (where I copied it from) it is a reserved word. >> In Pascal, "odd" is not a reserved word. It's the name of a >> predefined function. > > So what's a 'reserved word' then? To me it is something not available > as a user-identifier because it has a special meaning in the language, > which may be that of a predefined function among other things. Right. The name "odd" is available as a user-defined identifier. If you define something named "odd" in Pascal, it hides the predefined function of that name. You can think of Pascal's predefined functions as being declared in an outer scope, surrounding the main program. Pascal's rules for declarations in inner scopes hiding identifiers in outer scopes are similar to C's. (C has no predefined functions.) If there's more to say about this, I suggest comp.lang.misc or comp.lang.pascal.misc. -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com void Void(void) { Void(); } /* The recursive call of the void */