Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

Make it myself? But I'm a physical organic chemist!


devel / comp.lang.c / Re: Recursion, Yo

SubjectAuthor
* Recursion, YoLawrence D'Oliveiro
+* Re: Recursion, Yofir
|`* Re: Recursion, YoJanis Papanagnou
| +* Re: Recursion, YoLawrence D'Oliveiro
| |+* Re: Recursion, YoJanis Papanagnou
| ||`* Re: Recursion, YoBen Bacarisse
| || `* Re: Recursion, YoJanis Papanagnou
| ||  `* Re: Recursion, YoKeith Thompson
| ||   `- Re: Recursion, YoJanis Papanagnou
| |`- Re: Recursion, Yobart
| `* Re: Recursion, YoBen Bacarisse
|  +- Re: Recursion, YoBen Bacarisse
|  `* Re: Recursion, YoLawrence D'Oliveiro
|   +- Re: Recursion, YoChris M. Thomasson
|   +* Re: Recursion, YoDavid Brown
|   |+* Re: Recursion, YoLawrence D'Oliveiro
|   ||`* Re: Recursion, YoDavid Brown
|   || +* Re: Recursion, Yobart
|   || |+* Re: Recursion, YoDavid Brown
|   || ||`* Re: Recursion, YoLawrence D'Oliveiro
|   || || +* Re: Recursion, YoKaz Kylheku
|   || || |`* Heh heh... (Was: Recursion, Yo)Kenny McCormack
|   || || | `* Re: Heh heh... (Was: Recursion, Yo)Kaz Kylheku
|   || || |  `- Re: Heh heh... (Was: Recursion, Yo)Kenny McCormack
|   || || `* Re: Recursion, YoDavid Brown
|   || ||  +* Re: Recursion, YoScott Lurndal
|   || ||  |`* Re: Recursion, YoKaz Kylheku
|   || ||  | +* Re: Recursion, YoScott Lurndal
|   || ||  | |`* Re: Recursion, YoLawrence D'Oliveiro
|   || ||  | | +* Re: Recursion, YoKaz Kylheku
|   || ||  | | |`- Re: Recursion, YoDan Cross
|   || ||  | | `* Re: Recursion, YoJanis Papanagnou
|   || ||  | |  +* Re: Recursion, YoDavid Brown
|   || ||  | |  |`* Re: Recursion, YoJanis Papanagnou
|   || ||  | |  | +* Re: Recursion, YoDavid Brown
|   || ||  | |  | |`* Re: Recursion, YoJanis Papanagnou
|   || ||  | |  | | `- Re: Recursion, YoDavid Brown
|   || ||  | |  | `- Re: Recursion, YoLawrence D'Oliveiro
|   || ||  | |  +* Re: Recursion, YoLawrence D'Oliveiro
|   || ||  | |  |`* Re: Recursion, YoJanis Papanagnou
|   || ||  | |  | +- Re: Recursion, Yobart
|   || ||  | |  | `* Re: Recursion, YoLawrence D'Oliveiro
|   || ||  | |  |  +* Re: Recursion, YoMichael S
|   || ||  | |  |  |+* Re: Recursion, YoBen Bacarisse
|   || ||  | |  |  ||`* Re: Recursion, YoMichael S
|   || ||  | |  |  || `* Re: Recursion, YoJanis Papanagnou
|   || ||  | |  |  ||  `* Re: Recursion, YoKeith Thompson
|   || ||  | |  |  ||   `* Re: Recursion, YoBen Bacarisse
|   || ||  | |  |  ||    `* Re: Recursion, YoKeith Thompson
|   || ||  | |  |  ||     +* Re: Recursion, Yobart
|   || ||  | |  |  ||     |`- Re: Recursion, YoBen Bacarisse
|   || ||  | |  |  ||     `* Re: Recursion, YoJanis Papanagnou
|   || ||  | |  |  ||      +- Re: Recursion, YoJanis Papanagnou
|   || ||  | |  |  ||      `- Re: Recursion, YoKeith Thompson
|   || ||  | |  |  |`* Re: Recursion, YoLawrence D'Oliveiro
|   || ||  | |  |  | `- Re: Recursion, YoKeith Thompson
|   || ||  | |  |  `* Re: Recursion, YoJanis Papanagnou
|   || ||  | |  |   `* Re: Recursion, YoLawrence D'Oliveiro
|   || ||  | |  |    `* Re: Recursion, YoBen Bacarisse
|   || ||  | |  |     +* Re: Recursion, Yobart
|   || ||  | |  |     |`- Re: Recursion, YoBen Bacarisse
|   || ||  | |  |     `* Re: Recursion, YoLawrence D'Oliveiro
|   || ||  | |  |      +* Re: Recursion, YoChris M. Thomasson
|   || ||  | |  |      |+* Re: Recursion, YoBen Bacarisse
|   || ||  | |  |      ||`* Re: Recursion, YoLawrence D'Oliveiro
|   || ||  | |  |      || `* Re: Recursion, YoBen Bacarisse
|   || ||  | |  |      ||  `* Re: Recursion, YoLawrence D'Oliveiro
|   || ||  | |  |      ||   `- Re: Recursion, YoJanis Papanagnou
|   || ||  | |  |      |`* Re: Recursion, YoJanis Papanagnou
|   || ||  | |  |      | +* Re: Recursion, YoLawrence D'Oliveiro
|   || ||  | |  |      | |`- Re: Recursion, YoJanis Papanagnou
|   || ||  | |  |      | `* Re: Recursion, YoMichael S
|   || ||  | |  |      |  +* Re: Recursion, YoTim Rentsch
|   || ||  | |  |      |  |+* Re: Recursion, YoScott Lurndal
|   || ||  | |  |      |  ||+- Re: Recursion, YoKeith Thompson
|   || ||  | |  |      |  ||`- Re: Recursion, YoTim Rentsch
|   || ||  | |  |      |  |+* Re: Recursion, Yobart
|   || ||  | |  |      |  ||`* Re: Recursion, YoBen Bacarisse
|   || ||  | |  |      |  || +- Re: Recursion, YoKeith Thompson
|   || ||  | |  |      |  || `- Re: Recursion, YoKaz Kylheku
|   || ||  | |  |      |  |`* Re: Recursion, YoKeith Thompson
|   || ||  | |  |      |  | `- Re: Recursion, YoTim Rentsch
|   || ||  | |  |      |  `- Re: Recursion, YoJanis Papanagnou
|   || ||  | |  |      `- Re: Recursion, YoBen Bacarisse
|   || ||  | |  +* Re: Recursion, Yobart
|   || ||  | |  |+* Re: Recursion, YoJanis Papanagnou
|   || ||  | |  ||`- Re: Recursion, Yobart
|   || ||  | |  |`- Re: Recursion, YoKeith Thompson
|   || ||  | |  `- Re: Recursion, YoTim Rentsch
|   || ||  | `- Re: Recursion, YoDavid Brown
|   || ||  `* Re: Recursion, YoKeith Thompson
|   || ||   `- Re: Recursion, YoDavid Brown
|   || |`- Re: Recursion, Yofir
|   || +- Re: Recursion, YoJanis Papanagnou
|   || +* Re: Recursion, YoScott Lurndal
|   || |`* Re: Recursion, YoLawrence D'Oliveiro
|   || | `* Re: Recursion, YoScott Lurndal
|   || |  `- Re: Recursion, YoBen Bacarisse
|   || +* Re: Recursion, YoKaz Kylheku
|   || |`- Re: Recursion, YoDavid Brown
|   || `* Re: Recursion, YoLawrence D'Oliveiro
|   |`- Re: Recursion, YoKaz Kylheku
|   `- Re: Recursion, YoTim Rentsch
`- Re: Recursion, YoLawrence D'Oliveiro

Pages:12345
Re: Recursion, Yo

<874jbwrfku.fsf@nosuchdomain.example.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=52827&group=comp.lang.c#52827

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Keith.S.Thompson+u@gmail.com (Keith Thompson)
Newsgroups: comp.lang.c
Subject: Re: Recursion, Yo
Date: Fri, 19 Apr 2024 18:24:49 -0700
Organization: None to speak of
Lines: 21
Message-ID: <874jbwrfku.fsf@nosuchdomain.example.com>
References: <uut24f$2icpb$1@dont-email.me> <uv7a8n$18qf8$3@dont-email.me>
<uv867l$1j8l6$1@dont-email.me> <_zSRN.161297$m4d.144795@fx43.iad>
<20240411075825.30@kylheku.com> <r8TRN.114606$Wbff.54968@fx37.iad>
<uva6ep$24ji7$1@dont-email.me> <uvah1j$26gtr$1@dont-email.me>
<uvao71$27qit$1@dont-email.me> <uvb9r4$2c31v$1@dont-email.me>
<uvcing$2kbfj$6@dont-email.me> <uveft2$346sv$1@dont-email.me>
<uvf7vs$3911c$3@dont-email.me> <8734roqmdb.fsf@bsb.me.uk>
<uvhm89$3s6na$2@dont-email.me> <uvi79d$2ubl$1@dont-email.me>
<uvjs4c$ebsr$1@dont-email.me> <20240416231134.00004066@yahoo.com>
<86edb1xtjf.fsf@linuxsc.com> <uvudfv$352i4$1@dont-email.me>
<87wmosn8i4.fsf@bsb.me.uk>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Sat, 20 Apr 2024 03:24:50 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="2f816e6868714b56327474f80609c99e";
logging-data="3469291"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18134PZF4ySChP/DSrlFzlS"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:95nwJ/l0zyWClrQ2knBP32EyDNU=
sha1:ySbss2StKojRYQt5nYfFMKmhT/c=
 by: Keith Thompson - Sat, 20 Apr 2024 01:24 UTC

Ben Bacarisse <ben.usenet@bsb.me.uk> writes:
> bart <bc@freeuk.com> writes:
>> On 19/04/2024 16:26, Tim Rentsch wrote:
> ...
>>> ... Certainly C has some
>>> similarities to Algol 68, but I wouldn't say C and Algol 68
>>> are similar languages, only that they have a few similarities.
>>
>> I can't see any connection between Algol68 and C; I'm surprised at people
>> who say they do.
>
> "Connection" is vague, but Dennis Ritchie has written about the
> influence of Algol 68 on C.

See <https://www.bell-labs.com/usr/dmr/www/chist.pdf, which has multiple
references to Algol 68.

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for Medtronic
void Void(void) { Void(); } /* The recursive call of the void */

Re: Recursion, Yo

<865xwcxkga.fsf@linuxsc.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=52828&group=comp.lang.c#52828

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tr.17687@z991.linuxsc.com (Tim Rentsch)
Newsgroups: comp.lang.c
Subject: Re: Recursion, Yo
Date: Sat, 20 Apr 2024 05:55:17 -0700
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <865xwcxkga.fsf@linuxsc.com>
References: <uut24f$2icpb$1@dont-email.me> <20240411075825.30@kylheku.com> <r8TRN.114606$Wbff.54968@fx37.iad> <uva6ep$24ji7$1@dont-email.me> <uvah1j$26gtr$1@dont-email.me> <uvao71$27qit$1@dont-email.me> <uvb9r4$2c31v$1@dont-email.me> <uvcing$2kbfj$6@dont-email.me> <uveft2$346sv$1@dont-email.me> <uvf7vs$3911c$3@dont-email.me> <8734roqmdb.fsf@bsb.me.uk> <uvhm89$3s6na$2@dont-email.me> <uvi79d$2ubl$1@dont-email.me> <uvjs4c$ebsr$1@dont-email.me> <20240416231134.00004066@yahoo.com> <86edb1xtjf.fsf@linuxsc.com> <SGyUN.531$Xphd.48@fx41.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Date: Sat, 20 Apr 2024 14:55:18 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="9997d8b7c87f6a9dee0ccc592fd139d0";
logging-data="3859189"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19y9ik+f84vBNHEkecKAxouULJ4yas3wE0="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:y5loFsUANyopiegEUA7CM43StPo=
sha1:kBBhQBqzeqxDzckikx9mEMm3OYE=
 by: Tim Rentsch - Sat, 20 Apr 2024 12:55 UTC

scott@slp53.sl.home (Scott Lurndal) writes:

> Tim Rentsch <tr.17687@z991.linuxsc.com> writes:
>
>> Michael S <already5chosen@yahoo.com> writes:
>>
>>> On Mon, 15 Apr 2024 20:36:58 +0200
>>> Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
>>>
>>>> Algol 68 and C are so different that mutual understanding might be
>>>> difficult depending on personal background, focus, and fantasy. :-)
>>>
>>> Interesting take.
>>> I never learned Algol-68, but from pieces of info that I occasionally
>>> got I was always thinking of it as rather similar to 'C'.
>>> Both languages originated from common ancestor (Algol-60) and changed
>>> it in similar directions, e.g. blurring the line between operators and
>>> expression, making function pointers first class citizen, allowing
>>> declaration of variables at block scope.
>>> I think, in the past, when I remembered more about Algol-68, I had seen
>>> more similarities.
>>
>> Algol 60 already had block scope declarations.
>>
>> Algol 60 may not have had (pointer to) function/procedure variables,
>> but it did allow procedure identifiers as arguments to a procedure
>> call, and procedure variables are an obvious generalization.
>
> Call-by-name.

Algol 60 also had call by name (already mentioned in my previous
post), but that is unrelated to allowing procedure identifiers
as arguments.

Re: Recursion, Yo

<861q70xk2j.fsf@linuxsc.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=52829&group=comp.lang.c#52829

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tr.17687@z991.linuxsc.com (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: <uut24f$2icpb$1@dont-email.me> <uv68ok$11080$1@dont-email.me> <uv7a8n$18qf8$3@dont-email.me> <uv867l$1j8l6$1@dont-email.me> <_zSRN.161297$m4d.144795@fx43.iad> <20240411075825.30@kylheku.com> <r8TRN.114606$Wbff.54968@fx37.iad> <uva6ep$24ji7$1@dont-email.me> <uvah1j$26gtr$1@dont-email.me> <uvao71$27qit$1@dont-email.me> <uvb9r4$2c31v$1@dont-email.me> <uvcing$2kbfj$6@dont-email.me> <uveft2$346sv$1@dont-email.me> <uvf7vs$3911c$3@dont-email.me> <8734roqmdb.fsf@bsb.me.uk> <uvhm89$3s6na$2@dont-email.me> <uvi79d$2ubl$1@dont-email.me> <uvjs4c$ebsr$1@dont-email.me> <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=
 by: Tim Rentsch - Sat, 20 Apr 2024 13:03 UTC

Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:

> Tim Rentsch <tr.17687@z991.linuxsc.com> 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'.

Re: Recursion, Yo

<20240420074008.143@kylheku.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=52830&group=comp.lang.c#52830

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 643-408-1753@kylheku.com (Kaz Kylheku)
Newsgroups: comp.lang.c
Subject: Re: Recursion, Yo
Date: Sat, 20 Apr 2024 15:35:26 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 46
Message-ID: <20240420074008.143@kylheku.com>
References: <uut24f$2icpb$1@dont-email.me> <uv68ok$11080$1@dont-email.me>
<uv7a8n$18qf8$3@dont-email.me> <uv867l$1j8l6$1@dont-email.me>
<_zSRN.161297$m4d.144795@fx43.iad> <20240411075825.30@kylheku.com>
<r8TRN.114606$Wbff.54968@fx37.iad> <uva6ep$24ji7$1@dont-email.me>
<uvah1j$26gtr$1@dont-email.me> <uvao71$27qit$1@dont-email.me>
<uvb9r4$2c31v$1@dont-email.me> <uvcing$2kbfj$6@dont-email.me>
<uveft2$346sv$1@dont-email.me> <uvf7vs$3911c$3@dont-email.me>
<8734roqmdb.fsf@bsb.me.uk> <uvhm89$3s6na$2@dont-email.me>
<uvi79d$2ubl$1@dont-email.me> <uvjs4c$ebsr$1@dont-email.me>
<20240416231134.00004066@yahoo.com> <86edb1xtjf.fsf@linuxsc.com>
<uvudfv$352i4$1@dont-email.me> <87wmosn8i4.fsf@bsb.me.uk>
Injection-Date: Sat, 20 Apr 2024 17:35:27 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="eb13bb87e855c32ed9b47d8031ce9469";
logging-data="3936866"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+H6o7G6tNmBHStEZNeZR9/dlGacrXJuck="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:gVbLfit0kIBiabxHAHT7kHD3XlY=
 by: Kaz Kylheku - Sat, 20 Apr 2024 15:35 UTC

On 2024-04-20, Ben Bacarisse <ben.usenet@bsb.me.uk> wrote:
> bart <bc@freeuk.com> writes:
>
>> On 19/04/2024 16:26, Tim Rentsch wrote:
> ...
>>> ... Certainly C has some
>>> similarities to Algol 68, but I wouldn't say C and Algol 68
>>> are similar languages, only that they have a few similarities.
>>
>> I can't see any connection between Algol68 and C; I'm surprised at people
>> who say they do.
>
> "Connection" is vague, but Dennis Ritchie has written about the
> influence of Algol 68 on C.

I was looking at both Algols recently; they have a go to statement
with local statement labels, very similar to C.

>> C was put together together as a systems language to do a job, not to
>> implemement some esoteric concept of a language that few could understand.
>>
>> I understood it was based on languages like B and BCPL.
>
> BCPL had assignment statements but B followed Algol 68 and made
> assignment an expression operator (along with the +=, -= etc versions).
> This, of course, fed directly into C.

Algol 60 included a selection operator, suggested by John MacCarthy
of Lisp. That's likely how C ended up with the A ? B : C syntax.

That's actually funny because MacCarthy first invented a three-operand
IF operator, which he simulated via a function in Fortran. He used
that to simplify his chess program and other programs. (This account
is given in his History of Lisp article). His Fortran XIF, being
a function, didn't have the evaluation semantics he wanted such that
XIF(A, B, C) would evaluate only one of A and B. He somehow evolved this
three-way if into the multi-branch conditional which he then favored; it
became the Lisp cond with the M-expression surface syntax, and that
being similar to what he proposed for Algol. Eventually Lisp people
also went full circle, providing a two/three argument if operator or
macro, alongside cond.

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca

Re: Recursion, Yo

<v060el$11c1v$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=52832&group=comp.lang.c#52832

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: janis_papanagnou+ng@hotmail.com (Janis Papanagnou)
Newsgroups: comp.lang.c
Subject: Re: Recursion, Yo
Date: Mon, 22 Apr 2024 17:41:09 +0200
Organization: A noiseless patient Spider
Lines: 37
Message-ID: <v060el$11c1v$1@dont-email.me>
References: <uut24f$2icpb$1@dont-email.me> <uv2u2a$41j5$1@dont-email.me>
<87edbestmg.fsf@bsb.me.uk> <uv4r9e$mdd3$1@dont-email.me>
<uv5e3l$q885$1@dont-email.me> <uv5gfd$qum1$1@dont-email.me>
<uv5lgl$s6uj$1@dont-email.me> <uv61f6$v1jm$1@dont-email.me>
<uv68ok$11080$1@dont-email.me> <uv7a8n$18qf8$3@dont-email.me>
<uv867l$1j8l6$1@dont-email.me> <_zSRN.161297$m4d.144795@fx43.iad>
<20240411075825.30@kylheku.com> <r8TRN.114606$Wbff.54968@fx37.iad>
<uva6ep$24ji7$1@dont-email.me> <uvah1j$26gtr$1@dont-email.me>
<uvao71$27qit$1@dont-email.me> <uvb9r4$2c31v$1@dont-email.me>
<uvcing$2kbfj$6@dont-email.me> <uveft2$346sv$1@dont-email.me>
<uvf7vs$3911c$3@dont-email.me> <8734roqmdb.fsf@bsb.me.uk>
<uvhm89$3s6na$2@dont-email.me> <uvi79d$2ubl$1@dont-email.me>
<uvjs4c$ebsr$1@dont-email.me> <uvk9ud$h2pg$7@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 22 Apr 2024 17:41:10 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="d564f2cb8a52bc46976b62006af47a63";
logging-data="1093695"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19UwZ6JN70WZ5GE2RajD6/+"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:iIEfdT35ALIgUd8ZSptir0TfQsg=
In-Reply-To: <uvk9ud$h2pg$7@dont-email.me>
X-Enigmail-Draft-Status: N1110
 by: Janis Papanagnou - Mon, 22 Apr 2024 15:41 UTC

On 16.04.2024 00:32, Lawrence D'Oliveiro wrote:
> On Mon, 15 Apr 2024 20:36:58 +0200, Janis Papanagnou wrote:
>
>> I usually don't think about whether there's a -1, 0, 42, value used to
>> represent 'EMPTY' in memory. This may stem from the CS education where
>> I've learned not to assume a physical von Neumann architecture with
>> registers etc. ...
>
> The concept of “bits” comes from information theory. It has nothing to do
> with von Neumann or Paul Newman or Gary Oldman or anything else. If you
> have zero information to convey, then the number of bits of information is
> zero.

Thanks for trying to teach me CS.

I'm not speaking about "concepts" I'm speaking either about "units"
or about "[physical] representations"; here about the latter.

Concerning language - and I cannot speak for English, but suppose
there's something similar there as in my native language - we
differentiate between entities and units; we have the unit "bit"
(not "bits"; e.g. "8 bit") and the concrete physical or whatever
entity that hereabouts you refer to as "Bit". In cases where I
speak about memory _representations_ the word to choose is "Bit",
like "Bytes", "Octets", etc.

>
>> Other such values like 'EMPTY' are also known from other languages; like
>> the Algol 68 terms 'NIL' ('null', 'NULL', 'nil'), and 'SKIP'.
>
> Those are all entirely different concepts in Algol 68.

Yes, sure. That's why I wrote "like". - Not sure why you make
so many meaningless posts.

Janis

Re: Recursion, Yo

<v060tj$11f23$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=52833&group=comp.lang.c#52833

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: janis_papanagnou+ng@hotmail.com (Janis Papanagnou)
Newsgroups: comp.lang.c
Subject: Re: Recursion, Yo
Date: Mon, 22 Apr 2024 17:49:06 +0200
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <v060tj$11f23$1@dont-email.me>
References: <uut24f$2icpb$1@dont-email.me> <uv2u2a$41j5$1@dont-email.me>
<87edbestmg.fsf@bsb.me.uk> <uv4r9e$mdd3$1@dont-email.me>
<uv5e3l$q885$1@dont-email.me> <uv5gfd$qum1$1@dont-email.me>
<uv5lgl$s6uj$1@dont-email.me> <uv61f6$v1jm$1@dont-email.me>
<uv68ok$11080$1@dont-email.me> <uv7a8n$18qf8$3@dont-email.me>
<uv867l$1j8l6$1@dont-email.me> <_zSRN.161297$m4d.144795@fx43.iad>
<20240411075825.30@kylheku.com> <r8TRN.114606$Wbff.54968@fx37.iad>
<uva6ep$24ji7$1@dont-email.me> <uvah1j$26gtr$1@dont-email.me>
<uvao71$27qit$1@dont-email.me> <uvb9r4$2c31v$1@dont-email.me>
<uvcing$2kbfj$6@dont-email.me> <uveft2$346sv$1@dont-email.me>
<uvf7vs$3911c$3@dont-email.me> <8734roqmdb.fsf@bsb.me.uk>
<uvhm89$3s6na$2@dont-email.me> <uvi79d$2ubl$1@dont-email.me>
<uvjs4c$ebsr$1@dont-email.me> <20240416231134.00004066@yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 22 Apr 2024 17:49:08 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="d564f2cb8a52bc46976b62006af47a63";
logging-data="1096771"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18jvVasW/Lf6REhJzpykjWK"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:1xJI/rT515MJy90CQINoAJKcp1U=
In-Reply-To: <20240416231134.00004066@yahoo.com>
X-Enigmail-Draft-Status: N1110
 by: Janis Papanagnou - Mon, 22 Apr 2024 15:49 UTC

On 16.04.2024 22:11, Michael S wrote:
> On Mon, 15 Apr 2024 20:36:58 +0200
> Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
>>
>> Algol 68 and C are so different that mutual understanding might be
>> difficult depending on personal background, focus, and fantasy. :-)
>>
>
> Interesting take.
> I never learned Algol-68, but from pieces of info that I occasionally
> got I was always thinking of it as rather similar to 'C'.

Well, they're from the same language family. But there's some
fundamental differences, also fundamental different approaches,
and different design principles.

At some abstraction point we can say that, say, Fortran and C
or Algol 68, have all for-loops and run on von Neumann systems
but from a design perspective all three sample languages here
are very different.

> [...]
> I think, in the past, when I remembered more about Algol-68, I had seen
> more similarities.

It's the criterons you choose that make us see differences or
similarities (or even equalities). And the set of criterions
is typically chosen from the specific point of view (personal
or analytical or requirements or...).

Janis

Re: Recursion, Yo

<v061uu$11mbk$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=52834&group=comp.lang.c#52834

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: janis_papanagnou+ng@hotmail.com (Janis Papanagnou)
Newsgroups: comp.lang.c
Subject: Re: Recursion, Yo
Date: Mon, 22 Apr 2024 18:06:53 +0200
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <v061uu$11mbk$1@dont-email.me>
References: <uut24f$2icpb$1@dont-email.me> <uv5lgl$s6uj$1@dont-email.me>
<uv61f6$v1jm$1@dont-email.me> <uv68ok$11080$1@dont-email.me>
<uv7a8n$18qf8$3@dont-email.me> <uv867l$1j8l6$1@dont-email.me>
<_zSRN.161297$m4d.144795@fx43.iad> <20240411075825.30@kylheku.com>
<r8TRN.114606$Wbff.54968@fx37.iad> <uva6ep$24ji7$1@dont-email.me>
<uvah1j$26gtr$1@dont-email.me> <uvao71$27qit$1@dont-email.me>
<uvb9r4$2c31v$1@dont-email.me> <uvcing$2kbfj$6@dont-email.me>
<uveft2$346sv$1@dont-email.me> <uvf7vs$3911c$3@dont-email.me>
<8734roqmdb.fsf@bsb.me.uk> <uvhm89$3s6na$2@dont-email.me>
<uvi79d$2ubl$1@dont-email.me> <878r1epo2i.fsf@bsb.me.uk>
<uvk9po$h2pg$6@dont-email.me> <87edb3or0t.fsf@bsb.me.uk>
<uvphg8$1qshp$6@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 22 Apr 2024 18:06:55 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="5492f75596a1ee4239db8141dfcdd80d";
logging-data="1104244"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18ai97CydS3squ6JTmM1g0B"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:QDWFDDWZAynrHNIPNFkofn8bR6Y=
X-Enigmail-Draft-Status: N1110
In-Reply-To: <uvphg8$1qshp$6@dont-email.me>
 by: Janis Papanagnou - Mon, 22 Apr 2024 16:06 UTC

On 18.04.2024 00:12, Lawrence D'Oliveiro wrote:
> On Wed, 17 Apr 2024 18:09:06 +0100, Ben Bacarisse wrote:
>
>> Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>>
>>> On Mon, 15 Apr 2024 17:50:45 +0100, Ben Bacarisse wrote:
>>>
>>>> Algol 68 has no denotation for the empty value.
>>>
>>> Section 8.1.5.1 of the Revised Report:
>>>
>>> void denotation : empty symbol.
>>
>> Thanks. If I had ever known that, I had forgotten. It's almost never
>> used because values are coerced to void all the contexts where it might
>> be otherwise required. I'm pretty sure I've never written it.
>
> I also did a quick test in a68g that “BEGIN EMPTY END” is a valid program
> (at least compiles without errors). But the last time I posted such a
> thing, someone claimed that a68g was not necessarily a fully conforming
> Algol 68 implementation ...

I don't see why it shouldn't be valid program; I mean you can write
programs like "BEGIN END", "BEGIN EMPTY END", "BEGIN SKIP END",
"BEGIN NIL END", "BEGIN 3.14 END", or, "BEGIN 42 END".
I wouldn't expect that these do anything; only in the latter cases
I'd at least see a point in returning that value to the environment
(which isn't done, though, with the Genie compiler).

Janis

Pages:12345
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor