Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #123126
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Keith Thompson <Keith.S.Thompson+u@gmail.com> |
| Newsgroups | comp.lang.c, comp.lang.c++ |
| Subject | Re: New and improved version of cdecl |
| Date | Tue, 09 Dec 2025 17:51:05 -0800 |
| Organization | None to speak of |
| Lines | 33 |
| Message-ID | <87bjk7ayuu.fsf@example.invalid> (permalink) |
| References | <87bjlyobts.fsf@example.invalid> <10dlrl2$78t1$1@dont-email.me> <87v7k1z3xk.fsf@example.invalid> <10h9fde$th53$1@dont-email.me> <20251209121945.235@kylheku.com> <10hafso$16u9e$1@dont-email.me> |
| MIME-Version | 1.0 |
| Content-Type | text/plain; format=flowed |
| Injection-Date | Wed, 10 Dec 2025 01:51:09 +0000 (UTC) |
| Injection-Info | dont-email.me; posting-host="a923940154954f63d24cae2069589224"; logging-data="1268602"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19IX9WxQ2+GTqlTPW4mKAiv" |
| User-Agent | Gnus/5.13 (Gnus v5.13) |
| Cancel-Lock | sha1:yYc1Ognz6L8Ri7ZzFAqIYMg0ZZI= sha1:MRmcsYJICmjUGLfSZD1JnCVH3Z4= |
| Xref | csiph.com comp.lang.c:395751 comp.lang.c++:123126 |
Cross-posted to 2 groups.
Show key headers only | View raw
"Paul J. Lucas" <paul@lucasmail.org> writes:
> On 12/9/25 12:38 PM, Kaz Kylheku wrote:
>> On 2025-12-09, Paul J. Lucas <paul@lucasmail.org> wrote:
>>> On 10/26/25 3:36 PM, Keith Thompson wrote:
>>>> (I'm not entirely pleased that the newer version expands
>>>> "char" to "character" and, worse, "int" to "integer", but I
>>>> can live with it.)
>>>
>>> Hence the --no-english-types or -T command line option or the
>>> "set noenglish" command (from within cdecl or a config file).
>> The problem is that the English words chosen already have a
>> meaning. "Integer" is a type category in C;
>
> It's not a keyword, so that's irrelevant. Likewise,
> "Character."
>
>>> The thought was that those newer to C and less familiar with
>>> its types might benefit from more elaborate output.
>> This kind of thing just ensures that newbies go sideways from
>> being less familiar to being incorrectly familiar.
>
> Opinion noted. I disagree.
If you prefer the C-like syntax rather than pseudo-English (as I
do), you can change the default by creating a ".cdeclrc" file.
$ cdecl explain "int n;" declare n as integer $ echo "set
noenglish-types" > $HOME/.cdeclrc $ cdecl explain "int n;" declare
n as int $
--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */
Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
New and improved version of cdecl Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-10-22 14:39 -0700
Re: New and improved version of cdecl Thiago Adams <thiago.adams@gmail.com> - 2025-10-22 22:19 -0300
Re: New and improved version of cdecl Andrey Tarasevich <noone@noone.net> - 2025-10-26 12:09 -0700
Re: New and improved version of cdecl Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-10-26 15:36 -0700
Re: New and improved version of cdecl "Paul J. Lucas" <paul@lucasmail.org> - 2025-12-09 07:31 -0800
Re: New and improved version of cdecl Kaz Kylheku <046-301-5902@kylheku.com> - 2025-12-09 20:38 +0000
Re: New and improved version of cdecl "Paul J. Lucas" <paul@lucasmail.org> - 2025-12-09 16:46 -0800
Re: New and improved version of cdecl Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-12-09 17:51 -0800
Re: New and improved version of cdecl "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2025-10-26 14:44 -0700
Re: New and improved version of cdecl Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-10-26 15:38 -0700
Re: New and improved version of cdecl "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2025-10-27 11:51 -0700
csiph-web