Path: csiph.com!news.swapon.de!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Tim Rentsch
Newsgroups: comp.lang.c
Subject: Re: Recursion, Yo
Date: Sat, 20 Apr 2024 06:03:32 -0700
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <861q70xk2j.fsf@linuxsc.com>
References: <_zSRN.161297$m4d.144795@fx43.iad> <20240411075825.30@kylheku.com> <8734roqmdb.fsf@bsb.me.uk> <20240416231134.00004066@yahoo.com> <86edb1xtjf.fsf@linuxsc.com> <878r19qhz8.fsf@nosuchdomain.example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Date: Sat, 20 Apr 2024 15:03:33 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="9997d8b7c87f6a9dee0ccc592fd139d0"; logging-data="3859189"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18NtU2QGJM0RUTSXz7eZnViCDskIXkFPbs="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:E/its3KxcGglFbHg2eizcJ3R2N8= sha1:FjooYAyMnHptlh8gBxxF2zOAB5c=
Xref: csiph.com comp.lang.c:384374
Keith Thompson writes:
> Tim Rentsch writes:
> [...]
>
>> * Algol is "strict" whereas C is "lax" - for example, in Algol
>> the controlling expression of an 'if' statement must be a
>> 'Boolean expression', whereas in C it's just any expression
>
> Small quibble: the controlling expression in C must be of scalar type.
Yes but my comment was only about syntax. In Algol 60 a
'Boolean expression' is a syntactic category unrelated
to any semantic analysis. In C there is no separate
syntactic catgory for "boolean" expressions; there is
only 'expression'.