Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

You cannot have a science without measurement. -- R. W. Hamming


devel / comp.lang.lisp / Re: Lisp history: IF, etc.

SubjectAuthor
* Lisp history: IF, etc.Alan Bawden
+- Re: Lisp history: IF, etc.Kaz Kylheku
+- Re: Lisp history: IF, etc.Gijs Hillenius
+- Re: Lisp history: IF, etc.Gijs Hillenius
+* Re: Lisp history: IF, etc.Madhu
|`* Re: Lisp history: IF, etc.Alan Bawden
| +* Re: Lisp history: IF, etc.Paul Rubin
| |`* Re: Lisp history: IF, etc.Alan Bawden
| | +* Re: Lisp history: IF, etc.Paul Rubin
| | |+* Re: Lisp history: IF, etc.Lawrence D'Oliveiro
| | ||+* Re: Lisp history: IF, etc.Axel Reichert
| | |||+- Re: Lisp history: IF, etc.Lawrence D'Oliveiro
| | |||`- Re: Lisp history: IF, etc.Paul Rubin
| | ||`- Re: Lisp history: IF, etc.Kaz Kylheku
| | |`* Re: Lisp history: IF, etc.Alan Bawden
| | | `* Re: Lisp history: IF, etc.Paul Rubin
| | |  `* Re: Lisp history: IF, etc.Julieta Shem
| | |   +- Re: Lisp history: IF, etc.Julieta Shem
| | |   +- Re: Lisp history: IF, etc.Lawrence D'Oliveiro
| | |   `* Re: Lisp history: IF, etc.Paul Rubin
| | |    `* Re: Lisp history: IF, etc.Jeff Barnett
| | |     +* Re: Lisp history: IF, etc.Lawrence D'Oliveiro
| | |     |`- Re: Lisp history: IF, etc.Jeff Barnett
| | |     +* Re: Lisp history: IF, etc.Paul Rubin
| | |     |`* Re: Lisp history: IF, etc.Jeff Barnett
| | |     | `* Re: Lisp history: IF, etc.Lawrence D'Oliveiro
| | |     |  +* Re: Lisp history: IF, etc.Paul Rubin
| | |     |  |`* Re: Lisp history: IF, etc.Lawrence D'Oliveiro
| | |     |  | `* Re: Lisp history: IF, etc.Paul Rubin
| | |     |  |  `* Re: Lisp history: IF, etc.Jeff Barnett
| | |     |  |   `* Re: Lisp history: IF, etc.Lawrence D'Oliveiro
| | |     |  |    `* Re: Lisp history: IF, etc.Paul Rubin
| | |     |  |     +* Re: Lisp history: IF, etc.Madhu
| | |     |  |     |`* Re: Lisp history: IF, etc.Lawrence D'Oliveiro
| | |     |  |     | `- Re: Lisp history: IF, etc.Paul Rubin
| | |     |  |     `* Re: Lisp history: IF, etc.Ben Bacarisse
| | |     |  |      `* Re: Lisp history: IF, etc.Lawrence D'Oliveiro
| | |     |  |       `- Re: Lisp history: IF, etc.Stefan Monnier
| | |     |  `- Re: Lisp history: IF, etc.Jeff Barnett
| | |     `- Re: Lisp history: IF, etc.Stefan Ram
| | `- Re: Lisp history: IF, etc.Ben Bacarisse
| +* Re: Lisp history: IF, etc.Kaz Kylheku
| |+* Re: Lisp history: IF, etc.Alan Bawden
| ||+* Re: Lisp history: IF, etc.Kaz Kylheku
| |||`* Re: Lisp history: IF, etc.Kaz Kylheku
| ||| `- on levels of disappointment (Was: Re: Lisp history: IF, etc.)Julieta Shem
| ||`- Re: Lisp history: IF, etc.Julieta Shem
| |`- Re: Lisp history: IF, etc.Spiros Bousbouras
| +* Re: Lisp history: IF, etc.Lawrence D'Oliveiro
| |`* Re: Lisp history: IF, etc.Alan Bawden
| | `- Re: Lisp history: IF, etc.Kaz Kylheku
| `* Re: Lisp history: IF, etc.albert
|  `* Re: Lisp history: IF, etc.Alan Bawden
|   `- Re: Lisp history: IF, etc.Lawrence D'Oliveiro
`* Re: Lisp history: IF, etc.Kaz Kylheku
 `* Re: Lisp history: IF, etc.Alan Bawden
  `- Re: Lisp history: IF, etc.Lawrence D'Oliveiro

Pages:123
Re: Lisp history: IF, etc.

<20240404001056.923@kylheku.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10801&group=comp.lang.lisp#10801

  copy link   Newsgroups: comp.lang.lisp
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 643-408-...@kylheku.com (Kaz Kylheku)
Newsgroups: comp.lang.lisp
Subject: Re: Lisp history: IF, etc.
Date: Thu, 4 Apr 2024 07:35:30 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 71
Message-ID: <20240404001056.923@kylheku.com>
References: <uu54la$3su5b$6@dont-email.me> <uu636l$7haj$1@dont-email.me>
<20240329084454.0000090f@gmail.com> <uu6om5$cmv8$1@dont-email.me>
<20240329101248.556@kylheku.com> <uu6t9h$dq4d$1@dont-email.me>
<20240329104716.777@kylheku.com> <uu8p02$uebm$1@dont-email.me>
<20240330112105.553@kylheku.com> <uudrfg$2cskm$1@dont-email.me>
<87r0fp8lab.fsf@tudado.org> <uuehdj$2hshe$1@dont-email.me>
<87wmpg7gpg.fsf@tudado.org> <LISP-20240402085115@ram.dialup.fu-berlin.de>
<20240402084057.881@kylheku.com>
<86h6gjpq3i.fsf_-_@williamsburg.bawden.org>
<m3frw2vlok.fsf@leonis4.robolove.meer.net>
<86cyr6pb2l.fsf@williamsburg.bawden.org> <875xwy412p.fsf@nightsong.com>
<868r1up0wk.fsf@williamsburg.bawden.org> <871q7m3wrj.fsf@nightsong.com>
<uukr74$7l0f$1@dont-email.me>
Injection-Date: Thu, 04 Apr 2024 07:35:31 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="c584e056168df3e72ae6023a5eb1af29";
logging-data="556353"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+AuTkdE+Hca4fU8J4FI928wLidkZcWo5I="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:UIiyAN9bl7Gs6gmSIec3t30+4Uo=
 by: Kaz Kylheku - Thu, 4 Apr 2024 07:35 UTC

On 2024-04-04, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
> On Wed, 03 Apr 2024 15:29:52 -0700, Paul Rubin wrote:
>
>> I think lazy evaluation is not needed since the
>> input to the Church boolean (I hope I have the jargon right) is two
>> lambda abstractions. The boolean selects one of them, and the result is
>> applied to whatever the next thing is.
>
> I use this in Python, to try to avoid that abortion that is the Python
> conditional expression. Instead of, say,

Category error: "that abortion" is Python. If you're in the middle of it,
you've already lost the ideological battle. Use it like it was meant to be.

> a = x / y if y != 0 else 0
>
> I would do
>
> a = (lambda : 0, lambda : x / y)[y != 0]()

Not only is it more verbose, but it's unlikely that Python's compiler
recognizes the idiom and optimizes away the lambdas.

import dis

def f0():
return x / y if y != 0 else 0

def f1():
(lambda : 0, lambda : x / y)[y != 0]()

print('disasembly of f0')
dis.dis(f0)
print('disasembly of f1')
dis.dis(f1)

disasembly of f0
4 0 LOAD_GLOBAL 0 (y)
2 LOAD_CONST 1 (0)
4 COMPARE_OP 3 (!=)
6 POP_JUMP_IF_FALSE 16
8 LOAD_GLOBAL 1 (x)
10 LOAD_GLOBAL 0 (y)
12 BINARY_TRUE_DIVIDE
14 RETURN_VALUE
>> 16 LOAD_CONST 1 (0)
18 RETURN_VALUE
disasembly of f1
7 0 LOAD_CONST 1 (<code object <lambda> at 0xb77c88b8, file "distest.py", line 7>)
2 LOAD_CONST 2 ('f1.<locals>.<lambda>')
4 MAKE_FUNCTION 0
6 LOAD_CONST 3 (<code object <lambda> at 0xb77c8910, file "distest.py", line 7>)
8 LOAD_CONST 2 ('f1.<locals>.<lambda>')
10 MAKE_FUNCTION 0
12 BUILD_TUPLE 2
14 LOAD_GLOBAL 0 (y)
16 LOAD_CONST 4 (0)
18 COMPARE_OP 3 (!=)
20 BINARY_SUBSCR
22 CALL_FUNCTION 0
24 POP_TOP
26 LOAD_CONST 0 (None)
28 RETURN_VALUE

Deliberately writing longer, harder-to-read code, that is also slower, takes a
special sort of cretin.

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

Re: Lisp history: IF, etc.

<86r0flo838.fsf@williamsburg.bawden.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10802&group=comp.lang.lisp#10802

  copy link   Newsgroups: comp.lang.lisp
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!bawden.eternal-september.org!.POSTED!not-for-mail
From: ala...@csail.mit.edu (Alan Bawden)
Newsgroups: comp.lang.lisp
Subject: Re: Lisp history: IF, etc.
Date: Thu, 04 Apr 2024 04:17:15 -0400
Organization: ITS Preservation Society
Lines: 54
Message-ID: <86r0flo838.fsf@williamsburg.bawden.org>
References: <uu54la$3su5b$6@dont-email.me> <uu636l$7haj$1@dont-email.me>
<20240329084454.0000090f@gmail.com> <uu6om5$cmv8$1@dont-email.me>
<20240329101248.556@kylheku.com> <uu6t9h$dq4d$1@dont-email.me>
<20240329104716.777@kylheku.com> <uu8p02$uebm$1@dont-email.me>
<20240330112105.553@kylheku.com> <uudrfg$2cskm$1@dont-email.me>
<87r0fp8lab.fsf@tudado.org> <uuehdj$2hshe$1@dont-email.me>
<87wmpg7gpg.fsf@tudado.org>
<LISP-20240402085115@ram.dialup.fu-berlin.de>
<20240402084057.881@kylheku.com>
<86h6gjpq3i.fsf_-_@williamsburg.bawden.org>
<20240403211041.911@kylheku.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 04 Apr 2024 08:17:18 +0200 (CEST)
Injection-Info: bawden.eternal-september.org; posting-host="e07f213705933abd0291280324cd0958";
logging-data="575000"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18fRTnWulIk+9UPQQj+j9Me"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)
Cancel-Lock: sha1:pKVJk+9jsAbjLWIir6vzQ98vmgI=
sha1:+0trfMkhcfgbfYoXqr2z2VGM2JU=
 by: Alan Bawden - Thu, 4 Apr 2024 08:17 UTC

Kaz Kylheku <643-408-1753@kylheku.com> writes:

http://jmc.stanford.edu/articles/lisp/lisp.pdf

(Don't try HTTPS, it doesn't resolve to the PDF. There may be other
hostings of it.)

Quote:

I invented conditional expressions in connection with a set of chess
legal move routines I wrote in FORTRAN for the IBM 704 at M.I.T.
during 1957-58. This program did not use list processing. The IF
statement provided in FORTRAN 1 and FORTRAN 2 was very awkward to use,
and it was natural to invent a function XIF(M,N1,N2) whose value was
N1 or N2 according to whether the expression M was zero or not. The
function shortened many programs and made them easier to understand,
but it had to be used sparingly, because all three arguments had to be
evaluated before XIF was entered, since XIF was called as an ordinary
FORTRAN function though written in machine language. This led to the
invention of the true conditional expression which evaluates only one
of N1 and N2 according to whether M is true or false and to a desire
for a programming language that would allow its use.

A paper defining conditional expressions and proposing their use in
Algol was sent to the Communications of the ACM but was arbitrarily
demoted to a letter to the editor, because it was very short.

You can find his CACM letter online at: https://doi.org/10.1145/368405.1773349

Interestingly he did not propose using "if A then B else C" as the
syntax but rather "(A → B, T → C)", almost the same as in M-expressions!
(It would be cool if you were allowed to use the "(→,→)" form in what
Algol calls the "publication language", where you can write "x₉" instead
of "x[9]", but that is not the case.)

There you go; no hallucination or urban legends. Now, this does not
establish that MacCarthy ever worked with (if A B C) in Lisp. But
that is just a variation on the same idea; a footnote, if you will.

MacCarthy used XIF(A, B, C), in his own words, to shorten many programs,
and make them easier to understand, in his own words. (In Lisp, we
can use IF to shorten programs that use COND!)

Not really the same as "invented the ternary IF, AS A SHORTHAND FOR A
ONE CLAUSE COND", but yeah it's certainly another way to get confused
about what actually happened.

As for Fortran, it eventually caved in and got a conditional operator.
In the year 2021!!! https://j3-fortran.org/doc/year/21/21-157r2.txt

Now that's a hoot. But that seems to just be a proposal. Does anyone
know if this was accepted?

- Alan

Re: Lisp history: IF, etc.

<uun34n$s192$3@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10803&group=comp.lang.lisp#10803

  copy link   Newsgroups: comp.lang.lisp
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo...@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.lisp
Subject: Re: Lisp history: IF, etc.
Date: Thu, 4 Apr 2024 20:38:48 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <uun34n$s192$3@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <uu636l$7haj$1@dont-email.me>
<20240329084454.0000090f@gmail.com> <uu6om5$cmv8$1@dont-email.me>
<20240329101248.556@kylheku.com> <uu6t9h$dq4d$1@dont-email.me>
<20240329104716.777@kylheku.com> <uu8p02$uebm$1@dont-email.me>
<20240330112105.553@kylheku.com> <uudrfg$2cskm$1@dont-email.me>
<87r0fp8lab.fsf@tudado.org> <uuehdj$2hshe$1@dont-email.me>
<87wmpg7gpg.fsf@tudado.org> <LISP-20240402085115@ram.dialup.fu-berlin.de>
<20240402084057.881@kylheku.com> <86h6gjpq3i.fsf_-_@williamsburg.bawden.org>
<20240403211041.911@kylheku.com> <86r0flo838.fsf@williamsburg.bawden.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 04 Apr 2024 20:38:48 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="b2ebab76618f2906d24b8f2b6b05668a";
logging-data="918818"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19XJes1qLeyIYjL8cWUaba9"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:GrsRwBhFSFab9CAoN2w9VPcNVtg=
 by: Lawrence D'Oliv - Thu, 4 Apr 2024 20:38 UTC

On Thu, 04 Apr 2024 04:17:15 -0400, Alan Bawden wrote:

> and it was natural to invent a function XIF(M,N1,N2) whose value
> was N1 or N2 according to whether the expression M was zero or not.
> The function shortened many programs and made them easier to
> understand, but it had to be used sparingly, because all three
> arguments had to be evaluated before XIF was entered, since XIF was
> called as an ordinary FORTRAN function though written in machine
> language.

And just one more step from there to lazy evaluation via

XIF(M, λ.N1, λ.N2)()

and Bob’s your uncle.

Interestingly, in PostScript, the control constructs (if, loop etc) are
all just built-in functions, which take lambdas as arguments.

Re: Lisp history: IF, etc.

<87frw03b4j.fsf@nightsong.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10804&group=comp.lang.lisp#10804

  copy link   Newsgroups: comp.lang.lisp
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: no.em...@nospam.invalid (Paul Rubin)
Newsgroups: comp.lang.lisp
Subject: Re: Lisp history: IF, etc.
Date: Thu, 04 Apr 2024 17:29:32 -0700
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <87frw03b4j.fsf@nightsong.com>
References: <uu54la$3su5b$6@dont-email.me> <20240329084454.0000090f@gmail.com>
<uu6om5$cmv8$1@dont-email.me> <20240329101248.556@kylheku.com>
<uu6t9h$dq4d$1@dont-email.me> <20240329104716.777@kylheku.com>
<uu8p02$uebm$1@dont-email.me> <20240330112105.553@kylheku.com>
<uudrfg$2cskm$1@dont-email.me> <87r0fp8lab.fsf@tudado.org>
<uuehdj$2hshe$1@dont-email.me> <87wmpg7gpg.fsf@tudado.org>
<LISP-20240402085115@ram.dialup.fu-berlin.de>
<20240402084057.881@kylheku.com>
<86h6gjpq3i.fsf_-_@williamsburg.bawden.org>
<m3frw2vlok.fsf@leonis4.robolove.meer.net>
<86cyr6pb2l.fsf@williamsburg.bawden.org>
<875xwy412p.fsf@nightsong.com>
<868r1up0wk.fsf@williamsburg.bawden.org>
<871q7m3wrj.fsf@nightsong.com>
<86zfu9ooux.fsf@williamsburg.bawden.org>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Fri, 05 Apr 2024 00:29:32 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="0cd50da188300f57c9591f8ff8e9eb24";
logging-data="1022670"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+OuNSmgQjyvsE30r/JIgNv"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:sasANOfhf5AkgSMrpXF+06bH2Og=
sha1:cKBRw83T8DfApfXOVDgHTDixes8=
 by: Paul Rubin - Fri, 5 Apr 2024 00:29 UTC

Alan Bawden <alan@csail.mit.edu> writes:
> It's a common misconception that McCarthy was trying to turn Lambda
> Calculus into a programming language. ... He added LAMBDA (and LABEL)
> because he needed LAMBDA in order to define recursive functions, but
> as he himself often admitted, he didn't really understand Lambda
> Calculus, he just needed the notation.

I see, yes, and this is confirmed by his History of Lisp article. His
Wikipedia biography also surprised me a bit. For some reason I had
thought of him as an academic mathematical logician who later somehow
got involved with computers, but it was more like the other way around.
Thanks.

Re: Lisp history: IF, etc.

<877chbfs00.fsf@yaxenu.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10805&group=comp.lang.lisp#10805

  copy link   Newsgroups: comp.lang.lisp
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jsh...@yaxenu.org (Julieta Shem)
Newsgroups: comp.lang.lisp
Subject: Re: Lisp history: IF, etc.
Date: Fri, 05 Apr 2024 17:56:31 -0300
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <877chbfs00.fsf@yaxenu.org>
References: <uu54la$3su5b$6@dont-email.me> <uu6om5$cmv8$1@dont-email.me>
<20240329101248.556@kylheku.com> <uu6t9h$dq4d$1@dont-email.me>
<20240329104716.777@kylheku.com> <uu8p02$uebm$1@dont-email.me>
<20240330112105.553@kylheku.com> <uudrfg$2cskm$1@dont-email.me>
<87r0fp8lab.fsf@tudado.org> <uuehdj$2hshe$1@dont-email.me>
<87wmpg7gpg.fsf@tudado.org>
<LISP-20240402085115@ram.dialup.fu-berlin.de>
<20240402084057.881@kylheku.com>
<86h6gjpq3i.fsf_-_@williamsburg.bawden.org>
<m3frw2vlok.fsf@leonis4.robolove.meer.net>
<86cyr6pb2l.fsf@williamsburg.bawden.org>
<875xwy412p.fsf@nightsong.com>
<868r1up0wk.fsf@williamsburg.bawden.org>
<871q7m3wrj.fsf@nightsong.com>
<86zfu9ooux.fsf@williamsburg.bawden.org>
<87frw03b4j.fsf@nightsong.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Fri, 05 Apr 2024 20:56:35 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="1d17e5fb4a6d76076c70bf793d4b7893";
logging-data="1692832"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Rw1jteOhcbIOQ5oykO6V43hC9Eb0cLVQ="
Cancel-Lock: sha1:LlvRfCWgZLh+wzISmz9y7+PTn98=
sha1:e8FJ6tr3fBaCK7Rg4gosUhmqjFA=
 by: Julieta Shem - Fri, 5 Apr 2024 20:56 UTC

Paul Rubin <no.email@nospam.invalid> writes:

> Alan Bawden <alan@csail.mit.edu> writes:
>> It's a common misconception that McCarthy was trying to turn Lambda
>> Calculus into a programming language. ... He added LAMBDA (and LABEL)
>> because he needed LAMBDA in order to define recursive functions, but
>> as he himself often admitted, he didn't really understand Lambda
>> Calculus, he just needed the notation.
>
> I see, yes, and this is confirmed by his History of Lisp article. His
> Wikipedia biography also surprised me a bit. For some reason I had
> thought of him as an academic mathematical logician who later somehow
> got involved with computers, but it was more like the other way around.
> Thanks.

His PhD was in mathematics---differential equations. He would think up
things like a simple function that is continuous but nowhere
differentiable on the real line [1]. He was a mathematician by all
accounts. It's pretty hard to remove mathematics from computer science.
The culture seems to be that if a mathematician contributes more to the
field of computer science, he is called a computer scientist.

I also agree that he was a logician: he worked on a mathematical basis
for computer science. A mathematical basis for computer science must be
classified as logic. He was interested in proving programs were
correct. His idea of a conditional expression is precisely to write
mathematical functions in high precision. Mathematics in high
precision---that's a logician.

The creation of LISP by John McCarthy was surely not at first with
intention of a programming language. In fact, it was Steve Russell, his
student at the time, that first had the idea of implementing EVAL and
did it. I believe McCarthy was even somewhat surprised because, then,
he did not think of LISP having that kind of purpose.

[1] https://www-formal.stanford.edu/jmc/weierstrass.pdf

Re: Lisp history: IF, etc.

<87v84vecyk.fsf@yaxenu.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10806&group=comp.lang.lisp#10806

  copy link   Newsgroups: comp.lang.lisp
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jsh...@yaxenu.org (Julieta Shem)
Newsgroups: comp.lang.lisp
Subject: Re: Lisp history: IF, etc.
Date: Fri, 05 Apr 2024 18:06:43 -0300
Organization: A noiseless patient Spider
Lines: 61
Message-ID: <87v84vecyk.fsf@yaxenu.org>
References: <uu54la$3su5b$6@dont-email.me> <20240329101248.556@kylheku.com>
<uu6t9h$dq4d$1@dont-email.me> <20240329104716.777@kylheku.com>
<uu8p02$uebm$1@dont-email.me> <20240330112105.553@kylheku.com>
<uudrfg$2cskm$1@dont-email.me> <87r0fp8lab.fsf@tudado.org>
<uuehdj$2hshe$1@dont-email.me> <87wmpg7gpg.fsf@tudado.org>
<LISP-20240402085115@ram.dialup.fu-berlin.de>
<20240402084057.881@kylheku.com>
<86h6gjpq3i.fsf_-_@williamsburg.bawden.org>
<m3frw2vlok.fsf@leonis4.robolove.meer.net>
<86cyr6pb2l.fsf@williamsburg.bawden.org>
<875xwy412p.fsf@nightsong.com>
<868r1up0wk.fsf@williamsburg.bawden.org>
<871q7m3wrj.fsf@nightsong.com>
<86zfu9ooux.fsf@williamsburg.bawden.org>
<87frw03b4j.fsf@nightsong.com> <877chbfs00.fsf@yaxenu.org>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Fri, 05 Apr 2024 21:06:43 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="1d17e5fb4a6d76076c70bf793d4b7893";
logging-data="1696072"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19U+2VaUzQjNZumjhNM0fk3nZFTxI8jJNQ="
Cancel-Lock: sha1:Va8+ihQFYYCChu8bW8SL2i+7yu0=
sha1:zPiZRMZdFi2W95lqqNKcX+Grl+s=
 by: Julieta Shem - Fri, 5 Apr 2024 21:06 UTC

Julieta Shem <jshem@yaxenu.org> writes:

> Paul Rubin <no.email@nospam.invalid> writes:
>
>> Alan Bawden <alan@csail.mit.edu> writes:
>>> It's a common misconception that McCarthy was trying to turn Lambda
>>> Calculus into a programming language. ... He added LAMBDA (and LABEL)
>>> because he needed LAMBDA in order to define recursive functions, but
>>> as he himself often admitted, he didn't really understand Lambda
>>> Calculus, he just needed the notation.
>>
>> I see, yes, and this is confirmed by his History of Lisp article. His
>> Wikipedia biography also surprised me a bit. For some reason I had
>> thought of him as an academic mathematical logician who later somehow
>> got involved with computers, but it was more like the other way around.
>> Thanks.
>
> His PhD was in mathematics---differential equations. He would think up
> things like a simple function that is continuous but nowhere
> differentiable on the real line [1]. He was a mathematician by all
> accounts. It's pretty hard to remove mathematics from computer science.
> The culture seems to be that if a mathematician contributes more to the
> field of computer science, he is called a computer scientist.
>
> I also agree that he was a logician: he worked on a mathematical basis
> for computer science. A mathematical basis for computer science must be
> classified as logic. He was interested in proving programs were
> correct. His idea of a conditional expression is precisely to write
> mathematical functions in high precision. Mathematics in high
> precision---that's a logician.
>
> The creation of LISP by John McCarthy was surely not at first with
> intention of a programming language. In fact, it was Steve Russell, his
> student at the time, that first had the idea of implementing EVAL and
> did it. I believe McCarthy was even somewhat surprised because, then,
> he did not think of LISP having that kind of purpose.

--8<---------------cut here---------------start------------->8---
What happened next was that, some time in late 1958, Steve Russell, one
of McCarthy's grad students, looked at this definition of eval and
realized that if he translated it into machine language, the result
would be a Lisp interpreter.

This was a big surprise at the time. Here is what McCarthy said about it
later in an interview:

Steve Russell said, look, why don't I program this eval..., and I said
to him, ho, ho, you're confusing theory with practice, this eval is
intended for reading, not for computing. But he went ahead and did
it. That is, he compiled the eval in my paper into [IBM] 704 machine
code, fixing bugs, and then advertised this as a Lisp interpreter,
which it certainly was. So at that point Lisp had essentially the form
that it has today....

Suddenly, in a matter of weeks I think, McCarthy found his theoretical
exercise transformed into an actual programming language-- and a more
powerful one than he had intended.

Source: Paul Graham's ``Revenge of the Nerds'', May 2002.
https://www.paulgraham.com/icad.html
--8<---------------cut here---------------end--------------->8---

Re: Lisp history: IF, etc.

<N9yR2knafOThiY5Go@bongo-ra.co>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10807&group=comp.lang.lisp#10807

  copy link   Newsgroups: comp.lang.lisp
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: spi...@gmail.com (Spiros Bousbouras)
Newsgroups: comp.lang.lisp
Subject: Re: Lisp history: IF, etc.
Date: Fri, 5 Apr 2024 21:39:13 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <N9yR2knafOThiY5Go@bongo-ra.co>
References: <uu54la$3su5b$6@dont-email.me> <uu636l$7haj$1@dont-email.me> <20240329084454.0000090f@gmail.com>
<uu6om5$cmv8$1@dont-email.me> <20240329101248.556@kylheku.com> <uu6t9h$dq4d$1@dont-email.me>
<20240329104716.777@kylheku.com> <uu8p02$uebm$1@dont-email.me> <20240330112105.553@kylheku.com>
<uudrfg$2cskm$1@dont-email.me> <87r0fp8lab.fsf@tudado.org> <uuehdj$2hshe$1@dont-email.me>
<87wmpg7gpg.fsf@tudado.org> <LISP-20240402085115@ram.dialup.fu-berlin.de> <20240402084057.881@kylheku.com>
<86h6gjpq3i.fsf_-_@williamsburg.bawden.org> <m3frw2vlok.fsf@leonis4.robolove.meer.net> <86cyr6pb2l.fsf@williamsburg.bawden.org>
<20240403134752.491@kylheku.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 05 Apr 2024 21:39:13 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="9eeb35a8091a2ee69e2b6080393db242";
logging-data="1711088"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18+CMatID0mPYtOyAiz5GNj"
Cancel-Lock: sha1:EmTkuI+cYsfFCL4zH1fBkj6fVpw=
In-Reply-To: <20240403134752.491@kylheku.com>
X-Server-Commands: nowebcancel
X-Organisation: Weyland-Yutani
 by: Spiros Bousbouras - Fri, 5 Apr 2024 21:39 UTC

On Wed, 3 Apr 2024 20:57:48 -0000 (UTC)
Kaz Kylheku <643-408-1753@kylheku.com> wrote:
> However, conditional expressions ultimately come from math. E.g for
> specifying a discontinuous function:
>
> f(x) = { x, if x >= 0
> { 0, if x < 0

By the way , this is continuous on all the reals.

Re: Lisp history: IF, etc.

<uuq1as$1lcgf$6@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10808&group=comp.lang.lisp#10808

  copy link   Newsgroups: comp.lang.lisp
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo...@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.lisp
Subject: Re: Lisp history: IF, etc.
Date: Fri, 5 Apr 2024 23:26:20 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <uuq1as$1lcgf$6@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <uu6om5$cmv8$1@dont-email.me>
<20240329101248.556@kylheku.com> <uu6t9h$dq4d$1@dont-email.me>
<20240329104716.777@kylheku.com> <uu8p02$uebm$1@dont-email.me>
<20240330112105.553@kylheku.com> <uudrfg$2cskm$1@dont-email.me>
<87r0fp8lab.fsf@tudado.org> <uuehdj$2hshe$1@dont-email.me>
<87wmpg7gpg.fsf@tudado.org> <LISP-20240402085115@ram.dialup.fu-berlin.de>
<20240402084057.881@kylheku.com> <86h6gjpq3i.fsf_-_@williamsburg.bawden.org>
<m3frw2vlok.fsf@leonis4.robolove.meer.net>
<86cyr6pb2l.fsf@williamsburg.bawden.org> <875xwy412p.fsf@nightsong.com>
<868r1up0wk.fsf@williamsburg.bawden.org> <871q7m3wrj.fsf@nightsong.com>
<86zfu9ooux.fsf@williamsburg.bawden.org> <87frw03b4j.fsf@nightsong.com>
<877chbfs00.fsf@yaxenu.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 05 Apr 2024 23:26:20 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="9c4b8ade0cfa29f0e8cec442ac1d5e3b";
logging-data="1749519"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18kicMo2mC1JLc4UHcRpmxz"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:2rlSUZEbzPhrX+oMEfqhHrMbZWk=
 by: Lawrence D'Oliv - Fri, 5 Apr 2024 23:26 UTC

On Fri, 05 Apr 2024 17:56:31 -0300, Julieta Shem wrote:

> It's pretty hard to remove mathematics from computer science.

Of course different fields of scientific study are always going to abut
against each other. They are all indivisible parts of one reality, after
all.

What to me distinguishes mathematics from computer science is the
practicalities of programming. Mathematicians will construct theories
about the nature of information, what is computable and what is not,
orders of complexity, equivalence of computations and so on, and those all
have some relevance to computer science. But where the rubber meets the
road is when you write actual, working code that solves an actual problem
without consuming totally outrageous amounts of computing resources (space
and time).

Re: Lisp history: IF, etc.

<nnd$716d5caf$58afc6dc@c025f902c4db9b40>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10809&group=comp.lang.lisp#10809

  copy link   Newsgroups: comp.lang.lisp
Newsgroups: comp.lang.lisp
References: <uu54la$3su5b$6@dont-email.me> <86h6gjpq3i.fsf_-_@williamsburg.bawden.org> <m3frw2vlok.fsf@leonis4.robolove.meer.net> <86cyr6pb2l.fsf@williamsburg.bawden.org>
From: alb...@spenarnc.xs4all.nl
Subject: Re: Lisp history: IF, etc.
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: albert@cherry.(none) (albert)
Message-ID: <nnd$716d5caf$58afc6dc@c025f902c4db9b40>
Organization: KPN B.V.
Date: Fri, 12 Apr 2024 16:57:54 +0200
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!npeer.as286.net!npeer-ng0.as286.net!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feed.abavia.com!abe004.abavia.com!abp002.abavia.com!news.kpn.nl!not-for-mail
Lines: 25
Injection-Date: Fri, 12 Apr 2024 16:57:54 +0200
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
X-Received-Bytes: 1795
 by: alb...@spenarnc.xs4all.nl - Fri, 12 Apr 2024 14:57 UTC

In article <86cyr6pb2l.fsf@williamsburg.bawden.org>,
Alan Bawden <alan@csail.mit.edu> wrote:
>Lisp doesn't really have statements _because_ McCarthy invented the
>conditional expression. That's kind of the point. Other programming
>languages at the time (e.g. FORTRAN and ALGOL) only had conditional
>statements. McCarthy invented the conditional expression and thus
>created the first expression-only programming language.

It is a common mistake to refer to ALGOL simple.
Algol60 and algol68 are different beast altogether.

algol68 has conditional expressions:
a := 'if' summer 'then' 40 'else' -10 'fi' ;
and even a short hand:
a:= (summer|40|-10);

>- Alan

Groetjes Albert
--
Don't praise the day before the evening. One swallow doesn't make spring.
You must not say "hey" before you have crossed the bridge. Don't sell the
hide of the bear until you shot it. Better one bird in the hand than ten in
the air. First gain is a cat purring. - the Wise from Antrim -

Re: Lisp history: IF, etc.

<867ch2o1j9.fsf@williamsburg.bawden.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10810&group=comp.lang.lisp#10810

  copy link   Newsgroups: comp.lang.lisp
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!bawden.eternal-september.org!.POSTED!not-for-mail
From: ala...@csail.mit.edu (Alan Bawden)
Newsgroups: comp.lang.lisp
Subject: Re: Lisp history: IF, etc.
Date: Fri, 12 Apr 2024 14:53:46 -0400
Organization: ITS Preservation Society
Lines: 31
Message-ID: <867ch2o1j9.fsf@williamsburg.bawden.org>
References: <uu54la$3su5b$6@dont-email.me>
<86h6gjpq3i.fsf_-_@williamsburg.bawden.org>
<m3frw2vlok.fsf@leonis4.robolove.meer.net>
<86cyr6pb2l.fsf@williamsburg.bawden.org>
<nnd$716d5caf$58afc6dc@c025f902c4db9b40>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Fri, 12 Apr 2024 20:53:49 +0200 (CEST)
Injection-Info: bawden.eternal-september.org; posting-host="2943696b51886b6b3fe84d4bdc506ea7";
logging-data="2650273"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19BXaKp+OSUUBf/gHz1Q4GR"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)
Cancel-Lock: sha1:MUav6qJ4xUkON+HyB1+3+Bv0a7A=
sha1:nTUSUYjoZ+wP3ZBcBKWxjB1PYiQ=
 by: Alan Bawden - Fri, 12 Apr 2024 18:53 UTC

albert@spenarnc.xs4all.nl writes:

In article <86cyr6pb2l.fsf@williamsburg.bawden.org>,
Alan Bawden <alan@csail.mit.edu> wrote:
>Lisp doesn't really have statements _because_ McCarthy invented the
>conditional expression. That's kind of the point. Other programming
>languages at the time (e.g. FORTRAN and ALGOL) only had conditional
>statements. McCarthy invented the conditional expression and thus
>created the first expression-only programming language.

It is a common mistake to refer to ALGOL simple.
Algol60 and algol68 are different beast altogether.

algol68 has conditional expressions:
a := 'if' summer 'then' 40 'else' -10 'fi' ;
and even a short hand:
a:= (summer|40|-10);

Actually Algol 60 _does_ have conditional expressions, it's Algol 58
that doesn't have them. As I wrote myself last week elsewhere in this
thread:

Ah yes, the history is slightly more complicated than I remembered.
Algol 58 did not have conditional expressions. But McCarthy then
joined the Algol committee and he suggested that they add
conditional expressions. And so they do appear in Algol 60.

And when I wrote "ALGOL" in the message you quoted, I had forgtten about
Algol 58 entirely...

- Alan

Re: Lisp history: IF, etc.

<uvc8cd$2i1gr$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10811&group=comp.lang.lisp#10811

  copy link   Newsgroups: comp.lang.lisp
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo...@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.lisp
Subject: Re: Lisp history: IF, etc.
Date: Fri, 12 Apr 2024 21:17:01 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 5
Message-ID: <uvc8cd$2i1gr$2@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me>
<86h6gjpq3i.fsf_-_@williamsburg.bawden.org>
<m3frw2vlok.fsf@leonis4.robolove.meer.net>
<86cyr6pb2l.fsf@williamsburg.bawden.org>
<nnd$716d5caf$58afc6dc@c025f902c4db9b40>
<867ch2o1j9.fsf@williamsburg.bawden.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 12 Apr 2024 23:17:01 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="c105d4bef0a9dfcc8267749d3ff10053";
logging-data="2688539"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+mnb6OcqFUCWsHQbMZ0ZRy"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:HA+kfGApi76eG/MEt8P9B6iSFI8=
 by: Lawrence D'Oliv - Fri, 12 Apr 2024 21:17 UTC

On Fri, 12 Apr 2024 14:53:46 -0400, Alan Bawden wrote:

> Algol 58 ...

A.k.a. the “International Algorithmic Language” or “IAL”.

Re: Lisp history: IF, etc.

<87r0f61jkb.fsf@nightsong.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10816&group=comp.lang.lisp#10816

  copy link   Newsgroups: comp.lang.lisp
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: no.em...@nospam.invalid (Paul Rubin)
Newsgroups: comp.lang.lisp
Subject: Re: Lisp history: IF, etc.
Date: Mon, 15 Apr 2024 13:01:56 -0700
Organization: A noiseless patient Spider
Lines: 8
Message-ID: <87r0f61jkb.fsf@nightsong.com>
References: <uu54la$3su5b$6@dont-email.me> <20240329101248.556@kylheku.com>
<uu6t9h$dq4d$1@dont-email.me> <20240329104716.777@kylheku.com>
<uu8p02$uebm$1@dont-email.me> <20240330112105.553@kylheku.com>
<uudrfg$2cskm$1@dont-email.me> <87r0fp8lab.fsf@tudado.org>
<uuehdj$2hshe$1@dont-email.me> <87wmpg7gpg.fsf@tudado.org>
<LISP-20240402085115@ram.dialup.fu-berlin.de>
<20240402084057.881@kylheku.com>
<86h6gjpq3i.fsf_-_@williamsburg.bawden.org>
<m3frw2vlok.fsf@leonis4.robolove.meer.net>
<86cyr6pb2l.fsf@williamsburg.bawden.org>
<875xwy412p.fsf@nightsong.com>
<868r1up0wk.fsf@williamsburg.bawden.org>
<871q7m3wrj.fsf@nightsong.com>
<86zfu9ooux.fsf@williamsburg.bawden.org>
<87frw03b4j.fsf@nightsong.com> <877chbfs00.fsf@yaxenu.org>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Mon, 15 Apr 2024 22:01:57 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="3b71397d8a66603459a5f00eeaabf835";
logging-data="495220"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19xgf6TOIxbZCsxYXVIA9kR"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:PFWLsV3YJkjEiPDjKjlxUv1qXOw=
sha1:LQu/hPrL7gfCK/JKqYHGklVIaHs=
 by: Paul Rubin - Mon, 15 Apr 2024 20:01 UTC

Julieta Shem <jshem@yaxenu.org> writes:
> I also agree that he was a logician: he worked on a mathematical basis
> for computer science. A mathematical basis for computer science must be
> classified as logic.

Mathematical logic is an area that deals with topics like proof theory.
Not to diminish McCarthy in any way, but it sounds like he didn't work
in that particular area.

Re: Lisp history: IF, etc.

<uvkf5e$iaa5$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10817&group=comp.lang.lisp#10817

  copy link   Newsgroups: comp.lang.lisp
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jbb...@notatt.com (Jeff Barnett)
Newsgroups: comp.lang.lisp
Subject: Re: Lisp history: IF, etc.
Date: Mon, 15 Apr 2024 18:01:46 -0600
Organization: A noiseless patient Spider
Lines: 35
Message-ID: <uvkf5e$iaa5$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <20240329101248.556@kylheku.com>
<uu6t9h$dq4d$1@dont-email.me> <20240329104716.777@kylheku.com>
<uu8p02$uebm$1@dont-email.me> <20240330112105.553@kylheku.com>
<uudrfg$2cskm$1@dont-email.me> <87r0fp8lab.fsf@tudado.org>
<uuehdj$2hshe$1@dont-email.me> <87wmpg7gpg.fsf@tudado.org>
<LISP-20240402085115@ram.dialup.fu-berlin.de>
<20240402084057.881@kylheku.com> <86h6gjpq3i.fsf_-_@williamsburg.bawden.org>
<m3frw2vlok.fsf@leonis4.robolove.meer.net>
<86cyr6pb2l.fsf@williamsburg.bawden.org> <875xwy412p.fsf@nightsong.com>
<868r1up0wk.fsf@williamsburg.bawden.org> <871q7m3wrj.fsf@nightsong.com>
<86zfu9ooux.fsf@williamsburg.bawden.org> <87frw03b4j.fsf@nightsong.com>
<877chbfs00.fsf@yaxenu.org> <87r0f61jkb.fsf@nightsong.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 16 Apr 2024 02:01:50 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="f3d86098fdb1d3f71b0f2237d625750a";
logging-data="600389"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/v+SZquLGHlUjwUAkbbf/AG2OQZJ9rDt8="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:K7V+fBXCGMT2HSkTq30qSsXEt0E=
In-Reply-To: <87r0f61jkb.fsf@nightsong.com>
Content-Language: en-US
 by: Jeff Barnett - Tue, 16 Apr 2024 00:01 UTC

On 4/15/2024 2:01 PM, Paul Rubin wrote:
> Julieta Shem <jshem@yaxenu.org> writes:
>> I also agree that he was a logician: he worked on a mathematical basis
>> for computer science. A mathematical basis for computer science must be
>> classified as logic.
>
> Mathematical logic is an area that deals with topics like proof theory.
> Not to diminish McCarthy in any way, but it sounds like he didn't work
> in that particular area.

Well he and a PhD student (named not recalled) developed a compiler for
a Lisp that was of about the complexity of a mid 1960s Lisp. Then they
formally proved that the compiler was correct. This was NOT "proof
theory" as you probably meant it in the above paragraph. However in my
my mind the hairiest problems with the venture were setting up the
mechanisms and criteria for representing the code and expected behavior
plus enumerating the proof rules. A good deal of theory was developed
and buried in their effort.

I also remember McCarthy in the late 1960s being obsessed with logic and
philosophy and randomly spouting off discussions such as how processing of
Sir Walter Raleigh was the author of "The Lie"
Did the Queen know that Raleigh wrote "The Lie"?

might produce

Did the Queen know TRUE?

I heard him bring up such questions many times because he was hoping
that logical calculi could support natural language processing and
reasoning. The above was offered as an example of a problem at the
relatively simple surface level.
--
Jeff Barnett

Re: Lisp history: IF, etc.

<uvkgtd$ihej$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10818&group=comp.lang.lisp#10818

  copy link   Newsgroups: comp.lang.lisp
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo...@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.lisp
Subject: Re: Lisp history: IF, etc.
Date: Tue, 16 Apr 2024 00:31:42 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <uvkgtd$ihej$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <20240329101248.556@kylheku.com>
<uu6t9h$dq4d$1@dont-email.me> <20240329104716.777@kylheku.com>
<uu8p02$uebm$1@dont-email.me> <20240330112105.553@kylheku.com>
<uudrfg$2cskm$1@dont-email.me> <87r0fp8lab.fsf@tudado.org>
<uuehdj$2hshe$1@dont-email.me> <87wmpg7gpg.fsf@tudado.org>
<LISP-20240402085115@ram.dialup.fu-berlin.de>
<20240402084057.881@kylheku.com> <86h6gjpq3i.fsf_-_@williamsburg.bawden.org>
<m3frw2vlok.fsf@leonis4.robolove.meer.net>
<86cyr6pb2l.fsf@williamsburg.bawden.org> <875xwy412p.fsf@nightsong.com>
<868r1up0wk.fsf@williamsburg.bawden.org> <871q7m3wrj.fsf@nightsong.com>
<86zfu9ooux.fsf@williamsburg.bawden.org> <87frw03b4j.fsf@nightsong.com>
<877chbfs00.fsf@yaxenu.org> <87r0f61jkb.fsf@nightsong.com>
<uvkf5e$iaa5$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 16 Apr 2024 02:31:42 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="7122d47f46672ef7a70e2ca241d20ff2";
logging-data="607699"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/He+Y4CfUTHx1SSBJXi0t3"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:huhS8jyEZzv2BF8iF4JV/xEbEeM=
 by: Lawrence D'Oliv - Tue, 16 Apr 2024 00:31 UTC

On Mon, 15 Apr 2024 18:01:46 -0600, Jeff Barnett wrote:

> I also remember McCarthy in the late 1960s being obsessed with logic and
> philosophy and randomly spouting off discussions such as how processing
> of
> Sir Walter Raleigh was the author of "The Lie"
> Did the Queen know that Raleigh wrote "The Lie"?
>
> might produce
>
> Did the Queen know TRUE?

The word “know” has its own connotations which might be confusing things,
though. What if it were

Did the Queen believe that Raleigh wrote "The Lie"?

might produce

Did the Queen believe TRUE?

If you think that’s a meaningless statement, then how about

An ounce of prevention is worth a pound of cure
Do anti-vaxxers believe that an ounce of prevention is worth a pound
of cure?

and you realize that, trying to substitute “conspiracy theorists” for X
in

Do X believe TRUE?

is a process fraught with pitfalls. ;)

Re: Lisp history: IF, etc.

<87il0iynlu.fsf@nightsong.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10819&group=comp.lang.lisp#10819

  copy link   Newsgroups: comp.lang.lisp
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: no.em...@nospam.invalid (Paul Rubin)
Newsgroups: comp.lang.lisp
Subject: Re: Lisp history: IF, etc.
Date: Mon, 15 Apr 2024 20:48:13 -0700
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <87il0iynlu.fsf@nightsong.com>
References: <uu54la$3su5b$6@dont-email.me> <20240329104716.777@kylheku.com>
<uu8p02$uebm$1@dont-email.me> <20240330112105.553@kylheku.com>
<uudrfg$2cskm$1@dont-email.me> <87r0fp8lab.fsf@tudado.org>
<uuehdj$2hshe$1@dont-email.me> <87wmpg7gpg.fsf@tudado.org>
<LISP-20240402085115@ram.dialup.fu-berlin.de>
<20240402084057.881@kylheku.com>
<86h6gjpq3i.fsf_-_@williamsburg.bawden.org>
<m3frw2vlok.fsf@leonis4.robolove.meer.net>
<86cyr6pb2l.fsf@williamsburg.bawden.org>
<875xwy412p.fsf@nightsong.com>
<868r1up0wk.fsf@williamsburg.bawden.org>
<871q7m3wrj.fsf@nightsong.com>
<86zfu9ooux.fsf@williamsburg.bawden.org>
<87frw03b4j.fsf@nightsong.com> <877chbfs00.fsf@yaxenu.org>
<87r0f61jkb.fsf@nightsong.com> <uvkf5e$iaa5$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Tue, 16 Apr 2024 05:48:17 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="1053f3e06bcfa97abdc266c84650cb08";
logging-data="801313"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+yCXoHRTxyu/abGH4Xekng"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:C1uDEX8jcgkvXVm7blSEWmaoLB8=
sha1:d1fGIUHqeu7I+HQtweRVqiZlbTg=
 by: Paul Rubin - Tue, 16 Apr 2024 03:48 UTC

Jeff Barnett <jbb@notatt.com> writes:
> might produce
> Did the Queen know TRUE?

This is a topic in philosophy of language (idr what it is called).
Mathematical logic is completely different. By that, I mean you could
go to any university math library in the 1960s (when McCarthy was
active) or today, and find shelves full of textbooks with "mathematical
logic" in their titles. Those would all be about facets of the same
subject. Noted authors in it were people like Church (inventor of
lambda calculus), Curry (currying and the Haskell language are named
after him), Tarski, and so on. McCarthy's work was in tangentially
related areas.

McCarthy was super smart and probably could have read those textbooks
and gotten to understand the subject fairly easily, but not that many
mathematicians were into it back then. So I don't think he spent his
time that way. That's what I mean by saying he worked in different
areas.

I only met McCarthy once, and unfortunately, the only topic I remember
from the conversation had something to do with Chinese food.

Re: Lisp history: IF, etc.

<uvkujp$ona4$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10820&group=comp.lang.lisp#10820

  copy link   Newsgroups: comp.lang.lisp
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jbb...@notatt.com (Jeff Barnett)
Newsgroups: comp.lang.lisp
Subject: Re: Lisp history: IF, etc.
Date: Mon, 15 Apr 2024 22:25:27 -0600
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <uvkujp$ona4$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <20240329101248.556@kylheku.com>
<uu6t9h$dq4d$1@dont-email.me> <20240329104716.777@kylheku.com>
<uu8p02$uebm$1@dont-email.me> <20240330112105.553@kylheku.com>
<uudrfg$2cskm$1@dont-email.me> <87r0fp8lab.fsf@tudado.org>
<uuehdj$2hshe$1@dont-email.me> <87wmpg7gpg.fsf@tudado.org>
<LISP-20240402085115@ram.dialup.fu-berlin.de>
<20240402084057.881@kylheku.com> <86h6gjpq3i.fsf_-_@williamsburg.bawden.org>
<m3frw2vlok.fsf@leonis4.robolove.meer.net>
<86cyr6pb2l.fsf@williamsburg.bawden.org> <875xwy412p.fsf@nightsong.com>
<868r1up0wk.fsf@williamsburg.bawden.org> <871q7m3wrj.fsf@nightsong.com>
<86zfu9ooux.fsf@williamsburg.bawden.org> <87frw03b4j.fsf@nightsong.com>
<877chbfs00.fsf@yaxenu.org> <87r0f61jkb.fsf@nightsong.com>
<uvkf5e$iaa5$1@dont-email.me> <uvkgtd$ihej$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64
Injection-Date: Tue, 16 Apr 2024 06:25:29 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="f3d86098fdb1d3f71b0f2237d625750a";
logging-data="810308"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX193KOCyw+iKbHbZkoZkUg/RZ2Bavv7ZAgY="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:n47J3AjHaofuvNQjdu0sjQ54WAY=
In-Reply-To: <uvkgtd$ihej$1@dont-email.me>
Content-Language: en-US
 by: Jeff Barnett - Tue, 16 Apr 2024 04:25 UTC

On 4/15/2024 6:31 PM, Lawrence D'Oliveiro wrote:
> On Mon, 15 Apr 2024 18:01:46 -0600, Jeff Barnett wrote:
>
>> I also remember McCarthy in the late 1960s being obsessed with logic and
>> philosophy and randomly spouting off discussions such as how processing
>> of
>> Sir Walter Raleigh was the author of "The Lie"
>> Did the Queen know that Raleigh wrote "The Lie"?
>>
>> might produce
>>
>> Did the Queen know TRUE?
>
> The word “know” has its own connotations which might be confusing things,
> though. What if it were
>
> Did the Queen believe that Raleigh wrote "The Lie"?
>
> might produce
>
> Did the Queen believe TRUE?
>
> If you think that’s a meaningless statement, then how about
>
> An ounce of prevention is worth a pound of cure
> Do anti-vaxxers believe that an ounce of prevention is worth a pound
> of cure?
>
> and you realize that, trying to substitute “conspiracy theorists” for X
> in
>
> Do X believe TRUE?
>
> is a process fraught with pitfalls. ;)
The above was one of McCarthy's examples to show that blind application
of "logic techniques", e.g., substitution or unification, to other
representations, e.g., natural language was fraught with perils. In the
example, SWR = TL equiv TRUE and so TRUE was substituted. Most know
better today but at the time, a lot of smart people had too simplified,
i.e., ridiculous idea of how we could just slip formal logic in and
solve all of our AI problems without some vary necessary updates to
"formal logic" particularly preconditions of application rules.
--
Jeff Barnett

Re: Lisp history: IF, etc.

<uvl0hh$p5em$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10821&group=comp.lang.lisp#10821

  copy link   Newsgroups: comp.lang.lisp
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jbb...@notatt.com (Jeff Barnett)
Newsgroups: comp.lang.lisp
Subject: Re: Lisp history: IF, etc.
Date: Mon, 15 Apr 2024 22:58:21 -0600
Organization: A noiseless patient Spider
Lines: 48
Message-ID: <uvl0hh$p5em$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <20240329104716.777@kylheku.com>
<uu8p02$uebm$1@dont-email.me> <20240330112105.553@kylheku.com>
<uudrfg$2cskm$1@dont-email.me> <87r0fp8lab.fsf@tudado.org>
<uuehdj$2hshe$1@dont-email.me> <87wmpg7gpg.fsf@tudado.org>
<LISP-20240402085115@ram.dialup.fu-berlin.de>
<20240402084057.881@kylheku.com> <86h6gjpq3i.fsf_-_@williamsburg.bawden.org>
<m3frw2vlok.fsf@leonis4.robolove.meer.net>
<86cyr6pb2l.fsf@williamsburg.bawden.org> <875xwy412p.fsf@nightsong.com>
<868r1up0wk.fsf@williamsburg.bawden.org> <871q7m3wrj.fsf@nightsong.com>
<86zfu9ooux.fsf@williamsburg.bawden.org> <87frw03b4j.fsf@nightsong.com>
<877chbfs00.fsf@yaxenu.org> <87r0f61jkb.fsf@nightsong.com>
<uvkf5e$iaa5$1@dont-email.me> <87il0iynlu.fsf@nightsong.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 16 Apr 2024 06:58:26 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="f3d86098fdb1d3f71b0f2237d625750a";
logging-data="824790"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+vfldm9Kf1JTvRMLPP7NA9lueqx5dQFnc="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:TCHAJXl//oi7WgHvqB6ZpMm7NM4=
Content-Language: en-US
In-Reply-To: <87il0iynlu.fsf@nightsong.com>
 by: Jeff Barnett - Tue, 16 Apr 2024 04:58 UTC

On 4/15/2024 9:48 PM, Paul Rubin wrote:
> Jeff Barnett <jbb@notatt.com> writes:
>> might produce
>> Did the Queen know TRUE?
>
> This is a topic in philosophy of language (idr what it is called).
> Mathematical logic is completely different. By that, I mean you could
> go to any university math library in the 1960s (when McCarthy was
> active) or today, and find shelves full of textbooks with "mathematical
> logic" in their titles. Those would all be about facets of the same
> subject. Noted authors in it were people like Church (inventor of
> lambda calculus), Curry (currying and the Haskell language are named
> after him), Tarski, and so on. McCarthy's work was in tangentially
> related areas.
>
> McCarthy was super smart and probably could have read those textbooks
> and gotten to understand the subject fairly easily, but not that many
> mathematicians were into it back then. So I don't think he spent his
> time that way. That's what I mean by saying he worked in different
> areas.
>
> I only met McCarthy once, and unfortunately, the only topic I remember
> from the conversation had something to do with Chinese food.

The Chinese food habit probably resulted from his time at MIT. It seems
the original hacker community plus Minsky and others were enamored of a
restaurant called Joyce Chen's in Fresh Pond close to BBN. Ms. Chen had
written a cook book. Unfortunately, the food was god awful but everyone
thought they should be one of the group and sing its praises.

I met him in the early/middle 1960s when DARPA gave us a contract to do
a thing called Lisp 2 - a Lisp system with extended language facilities
and borrows from Algol. McCarthy (now at Stanford) and Minsky were named
our Godfathers and we visited each several times a year to talk about
life and eat bad Chinese food - Danny Bobrow and Warren Teitelman would
usual join us in Cambridge. When we saw McCarthy, I often wondered why
he was in a CS department (and sat in the Stanford AI building). He
talked almost exclusively about logic and how that technology might help
formulate and solve many hard problems. I thought he would be happier in
a department of philosophy. I still have that impression.

OT tidbit: At the time talked about above, I worked near a fellow who
went to grade school with McCarthy. It seemed that he paid very little
attention to his teacher; rather he read through all volumes of the
Encyclopedia Britannica one year when he was in early grade school!
--
Jeff Barnett

Re: Lisp history: IF, etc.

<uvl8v6$qqd0$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10822&group=comp.lang.lisp#10822

  copy link   Newsgroups: comp.lang.lisp
Path: i2pn2.org!i2pn.org!news.neodome.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo...@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.lisp
Subject: Re: Lisp history: IF, etc.
Date: Tue, 16 Apr 2024 07:22:14 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <uvl8v6$qqd0$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <20240329104716.777@kylheku.com>
<uu8p02$uebm$1@dont-email.me> <20240330112105.553@kylheku.com>
<uudrfg$2cskm$1@dont-email.me> <87r0fp8lab.fsf@tudado.org>
<uuehdj$2hshe$1@dont-email.me> <87wmpg7gpg.fsf@tudado.org>
<LISP-20240402085115@ram.dialup.fu-berlin.de>
<20240402084057.881@kylheku.com> <86h6gjpq3i.fsf_-_@williamsburg.bawden.org>
<m3frw2vlok.fsf@leonis4.robolove.meer.net>
<86cyr6pb2l.fsf@williamsburg.bawden.org> <875xwy412p.fsf@nightsong.com>
<868r1up0wk.fsf@williamsburg.bawden.org> <871q7m3wrj.fsf@nightsong.com>
<86zfu9ooux.fsf@williamsburg.bawden.org> <87frw03b4j.fsf@nightsong.com>
<877chbfs00.fsf@yaxenu.org> <87r0f61jkb.fsf@nightsong.com>
<uvkf5e$iaa5$1@dont-email.me> <87il0iynlu.fsf@nightsong.com>
<uvl0hh$p5em$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 16 Apr 2024 09:22:15 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="7122d47f46672ef7a70e2ca241d20ff2";
logging-data="879008"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/h8GdgwSLTeK0sNOnW7cCg"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:wy5f76Z6ieVJzoA3gPq6pR1E45E=
 by: Lawrence D'Oliv - Tue, 16 Apr 2024 07:22 UTC

On Mon, 15 Apr 2024 22:58:21 -0600, Jeff Barnett wrote:

> I met him in the early/middle 1960s when DARPA gave us a contract to do
> a thing called Lisp 2 - a Lisp system with extended language facilities
> and borrows from Algol.

That project was considered a “failure”, but I wonder why? Did it turn out
that getting rid of the (ahem) quirky Lisp syntax in fact got rid of some
of its expressive power, too?

Re: Lisp history: IF, etc.

<87edb5yxn5.fsf@nightsong.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10823&group=comp.lang.lisp#10823

  copy link   Newsgroups: comp.lang.lisp
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: no.em...@nospam.invalid (Paul Rubin)
Newsgroups: comp.lang.lisp
Subject: Re: Lisp history: IF, etc.
Date: Tue, 16 Apr 2024 11:23:42 -0700
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <87edb5yxn5.fsf@nightsong.com>
References: <uu54la$3su5b$6@dont-email.me> <uudrfg$2cskm$1@dont-email.me>
<87r0fp8lab.fsf@tudado.org> <uuehdj$2hshe$1@dont-email.me>
<87wmpg7gpg.fsf@tudado.org>
<LISP-20240402085115@ram.dialup.fu-berlin.de>
<20240402084057.881@kylheku.com>
<86h6gjpq3i.fsf_-_@williamsburg.bawden.org>
<m3frw2vlok.fsf@leonis4.robolove.meer.net>
<86cyr6pb2l.fsf@williamsburg.bawden.org>
<875xwy412p.fsf@nightsong.com>
<868r1up0wk.fsf@williamsburg.bawden.org>
<871q7m3wrj.fsf@nightsong.com>
<86zfu9ooux.fsf@williamsburg.bawden.org>
<87frw03b4j.fsf@nightsong.com> <877chbfs00.fsf@yaxenu.org>
<87r0f61jkb.fsf@nightsong.com> <uvkf5e$iaa5$1@dont-email.me>
<87il0iynlu.fsf@nightsong.com> <uvl0hh$p5em$1@dont-email.me>
<uvl8v6$qqd0$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 16 Apr 2024 20:23:43 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="1053f3e06bcfa97abdc266c84650cb08";
logging-data="1149893"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18C7bm6XbK7/wPMmbRSkUU8"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:ZOvCcSYZOui611Fhya9vIRD9Wo8=
sha1:ke2aBHbCRERMsn2ZZ5dZbZLfgOg=
 by: Paul Rubin - Tue, 16 Apr 2024 18:23 UTC

Lawrence D'Oliveiro <ldo@nz.invalid> writes:
> [Lisp 2] That project was considered a “failure”, but I wonder why?
> Did it turn out that getting rid of the (ahem) quirky Lisp syntax in
> fact got rid of some of its expressive power, too?

This retrospective (8 page PDF) gives the impression that Lisp 2 bogged
down due to the implementation outstripping the limited computers
available at the time. Plus, Lisp 1.5 had gotten entrenched enough that
Lisp 2's Algol-like syntax didn't excite people any more:

https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=8267589

Lisp 2 had an interesting GC scheme that migrated into SPITBOL which is
where I learned about it. It was a mark-sweep GC but had a
"generational" aspect that relocated data that had been around for a
while into a "sediment" that usually didn't get rescanned. I remember
thinking that it might be worth trying this in smaller GC'd language
interpreters like MicroPython. I don't remember much about it now, but
I spent a while studying it and thinking about documenting and/or
reimplementing it.

SPITBOL (Speedy Implementation of SNOBOL, where SNOBOL was StriNg
Oriented symBOLic language) was a quite amazing 1970s(?) implementation
of a language that could be seen as an antecedent of something like Perl:

https://github.com/spitbol

Re: Lisp history: IF, etc.

<uvn5jl$17j30$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10824&group=comp.lang.lisp#10824

  copy link   Newsgroups: comp.lang.lisp
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jbb...@notatt.com (Jeff Barnett)
Newsgroups: comp.lang.lisp
Subject: Re: Lisp history: IF, etc.
Date: Tue, 16 Apr 2024 18:37:05 -0600
Organization: A noiseless patient Spider
Lines: 53
Message-ID: <uvn5jl$17j30$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <20240329104716.777@kylheku.com>
<uu8p02$uebm$1@dont-email.me> <20240330112105.553@kylheku.com>
<uudrfg$2cskm$1@dont-email.me> <87r0fp8lab.fsf@tudado.org>
<uuehdj$2hshe$1@dont-email.me> <87wmpg7gpg.fsf@tudado.org>
<LISP-20240402085115@ram.dialup.fu-berlin.de>
<20240402084057.881@kylheku.com> <86h6gjpq3i.fsf_-_@williamsburg.bawden.org>
<m3frw2vlok.fsf@leonis4.robolove.meer.net>
<86cyr6pb2l.fsf@williamsburg.bawden.org> <875xwy412p.fsf@nightsong.com>
<868r1up0wk.fsf@williamsburg.bawden.org> <871q7m3wrj.fsf@nightsong.com>
<86zfu9ooux.fsf@williamsburg.bawden.org> <87frw03b4j.fsf@nightsong.com>
<877chbfs00.fsf@yaxenu.org> <87r0f61jkb.fsf@nightsong.com>
<uvkf5e$iaa5$1@dont-email.me> <87il0iynlu.fsf@nightsong.com>
<uvl0hh$p5em$1@dont-email.me> <uvl8v6$qqd0$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64
Injection-Date: Wed, 17 Apr 2024 02:37:10 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="35717de5c335c891545d91cd0f65f9ab";
logging-data="1297504"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18lLPQ7JkpZ7KPJkCUgijhEjfNpdhiL6KQ="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:TfmJ1jQOmk/6N8sD58SpE4whfWg=
Content-Language: en-US
In-Reply-To: <uvl8v6$qqd0$1@dont-email.me>
 by: Jeff Barnett - Wed, 17 Apr 2024 00:37 UTC

On 4/16/2024 1:22 AM, Lawrence D'Oliveiro wrote:
> On Mon, 15 Apr 2024 22:58:21 -0600, Jeff Barnett wrote:
>
>> I met him in the early/middle 1960s when DARPA gave us a contract to do
>> a thing called Lisp 2 - a Lisp system with extended language facilities
>> and borrows from Algol.
>
> That project was considered a “failure”, but I wonder why? Did it turn out
> that getting rid of the (ahem) quirky Lisp syntax in fact got rid of some
> of its expressive power, too?
Paul Rubin discusses this in another reply to your question. But there
where many issues. In the first place, there was a full normal prefix
Lisp interface to the system - compiler, assembler, debugger, reader,
etc. In the second place, there was a full meta-compiler setting in the
Lisp2 system. This meta-compiler was good enough to generate some of the
early Jovial compilers developed and used at SDC and could do
sophisticate things, e.g., remove left recursion from a grammar. In
other words, you could use prefix, a complimentary infix, or roll most
(but) not all interface languages that made you giddy.
The problem in my mind was simply lack of computer resources. The
implementation on the ANFS-Q32 had something like 48K 36+ bit words.
That simply wasn't enough so some of the fellows devised a swapping
scheme: the function linkage cliche - the common code invoked by the
function call sequence -- noted what was called and frequency. It also
noted whether the routine was in memory; if not it tried to move it to
memory from external storage; if there wasn't enough room, current
memory resident routines were moved or excised (and written out if
necessary) being selected using the frequency information; pieces of the
GC may have been used to do such tasks as compacting program storage to
make a hole big enough to do the swap in. In other words, we were doing
swapping a binary program at a time. This, as you can imagine, was a
Royal Pain In The Ass (RPITA).
So DARPA (or was it still ARPA?) says they wanted SDC to do something or
other with massive databases on IBM 360 machines so they are going to
get us a better machine. The machine turns out to be about the same size
as the Q32. Further, the next goodie a 360/370 with virtual memory could
be significantly better. However user virtual address space was to be
limited to about a megabyte - not enough to consider a copy-collect GC.
I, and several others had enough of this sort of development in limited
resources. We were motivated by experimenting with language forms and
ways to implement them, not research in how to scrounge memory while
losing sleep and forsaking a social life. Not every one agreed with the
decision to shut it down but most did. So RPITA->RIP.
--
Jeff Barnett

Re: Lisp history: IF, etc.

<uvn7ph$17j5g$5@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10825&group=comp.lang.lisp#10825

  copy link   Newsgroups: comp.lang.lisp
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo...@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.lisp
Subject: Re: Lisp history: IF, etc.
Date: Wed, 17 Apr 2024 01:14:25 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <uvn7ph$17j5g$5@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <uudrfg$2cskm$1@dont-email.me>
<87r0fp8lab.fsf@tudado.org> <uuehdj$2hshe$1@dont-email.me>
<87wmpg7gpg.fsf@tudado.org> <LISP-20240402085115@ram.dialup.fu-berlin.de>
<20240402084057.881@kylheku.com> <86h6gjpq3i.fsf_-_@williamsburg.bawden.org>
<m3frw2vlok.fsf@leonis4.robolove.meer.net>
<86cyr6pb2l.fsf@williamsburg.bawden.org> <875xwy412p.fsf@nightsong.com>
<868r1up0wk.fsf@williamsburg.bawden.org> <871q7m3wrj.fsf@nightsong.com>
<86zfu9ooux.fsf@williamsburg.bawden.org> <87frw03b4j.fsf@nightsong.com>
<877chbfs00.fsf@yaxenu.org> <87r0f61jkb.fsf@nightsong.com>
<uvkf5e$iaa5$1@dont-email.me> <87il0iynlu.fsf@nightsong.com>
<uvl0hh$p5em$1@dont-email.me> <uvl8v6$qqd0$1@dont-email.me>
<87edb5yxn5.fsf@nightsong.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 17 Apr 2024 03:14:25 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="eab0799947e46f7ee0d29068ff6512f6";
logging-data="1297584"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/OVH/ACxvUOFAy2QVUpXD2"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:9DZtR8U5JyrtMOteiR3Xx/rjmyI=
 by: Lawrence D'Oliv - Wed, 17 Apr 2024 01:14 UTC

On Tue, 16 Apr 2024 11:23:42 -0700, Paul Rubin wrote:

> SPITBOL (Speedy Implementation of SNOBOL, where SNOBOL was StriNg
> Oriented symBOLic language) was a quite amazing 1970s(?) implementation
> of a language that could be seen as an antecedent of something like
> Perl:
>
> https://github.com/spitbol

Had a quick look at that. I would say the whole SNOBOL family has been
left in the dust by Perl. And by languages that were able to take
advantage of PCRE libraries.

Re: Lisp history: IF, etc.

<87a5lszqvp.fsf@nightsong.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10826&group=comp.lang.lisp#10826

  copy link   Newsgroups: comp.lang.lisp
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: no.em...@nospam.invalid (Paul Rubin)
Newsgroups: comp.lang.lisp
Subject: Re: Lisp history: IF, etc.
Date: Tue, 16 Apr 2024 19:04:26 -0700
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <87a5lszqvp.fsf@nightsong.com>
References: <uu54la$3su5b$6@dont-email.me> <uuehdj$2hshe$1@dont-email.me>
<87wmpg7gpg.fsf@tudado.org>
<LISP-20240402085115@ram.dialup.fu-berlin.de>
<20240402084057.881@kylheku.com>
<86h6gjpq3i.fsf_-_@williamsburg.bawden.org>
<m3frw2vlok.fsf@leonis4.robolove.meer.net>
<86cyr6pb2l.fsf@williamsburg.bawden.org>
<875xwy412p.fsf@nightsong.com>
<868r1up0wk.fsf@williamsburg.bawden.org>
<871q7m3wrj.fsf@nightsong.com>
<86zfu9ooux.fsf@williamsburg.bawden.org>
<87frw03b4j.fsf@nightsong.com> <877chbfs00.fsf@yaxenu.org>
<87r0f61jkb.fsf@nightsong.com> <uvkf5e$iaa5$1@dont-email.me>
<87il0iynlu.fsf@nightsong.com> <uvl0hh$p5em$1@dont-email.me>
<uvl8v6$qqd0$1@dont-email.me> <87edb5yxn5.fsf@nightsong.com>
<uvn7ph$17j5g$5@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Wed, 17 Apr 2024 04:04:27 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="fd01e1c77450cab9a0130dfe044f78a7";
logging-data="1447269"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/DEHposkuU0ILMLBrfYEVr"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:T1pgdHjI92m8MAVQH6UjabIZBWM=
sha1:fPR1qrQhuI7GzX8BkkmVUyAUWQo=
 by: Paul Rubin - Wed, 17 Apr 2024 02:04 UTC

Lawrence D'Oliveiro <ldo@nz.invalid> writes:
> Had a quick look at that. I would say the whole SNOBOL family has been
> left in the dust by Perl.

SNOBOL/SPITBOL in the 1970s were sort of like Perl in the 1990s, I
think. But, they are mostly of historical interest now. I think by the
time Spitbol ran on anything resembling a personal computer or
workstation, it was already history. It ran on old mainframe OS's and
there wasn't much overlap.

Re: Lisp history: IF, etc.

<uvnde9$1clde$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10827&group=comp.lang.lisp#10827

  copy link   Newsgroups: comp.lang.lisp
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jbb...@notatt.com (Jeff Barnett)
Newsgroups: comp.lang.lisp
Subject: Re: Lisp history: IF, etc.
Date: Tue, 16 Apr 2024 20:50:45 -0600
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <uvnde9$1clde$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <uuehdj$2hshe$1@dont-email.me>
<87wmpg7gpg.fsf@tudado.org> <LISP-20240402085115@ram.dialup.fu-berlin.de>
<20240402084057.881@kylheku.com> <86h6gjpq3i.fsf_-_@williamsburg.bawden.org>
<m3frw2vlok.fsf@leonis4.robolove.meer.net>
<86cyr6pb2l.fsf@williamsburg.bawden.org> <875xwy412p.fsf@nightsong.com>
<868r1up0wk.fsf@williamsburg.bawden.org> <871q7m3wrj.fsf@nightsong.com>
<86zfu9ooux.fsf@williamsburg.bawden.org> <87frw03b4j.fsf@nightsong.com>
<877chbfs00.fsf@yaxenu.org> <87r0f61jkb.fsf@nightsong.com>
<uvkf5e$iaa5$1@dont-email.me> <87il0iynlu.fsf@nightsong.com>
<uvl0hh$p5em$1@dont-email.me> <uvl8v6$qqd0$1@dont-email.me>
<87edb5yxn5.fsf@nightsong.com> <uvn7ph$17j5g$5@dont-email.me>
<87a5lszqvp.fsf@nightsong.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 17 Apr 2024 04:50:49 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="35717de5c335c891545d91cd0f65f9ab";
logging-data="1463726"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18i96BdcTr6PbG5bFEUtl/Yg5gMVR4/cDM="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:D4eY6dqiOnkpJxab6GDWzfu163g=
Content-Language: en-US
In-Reply-To: <87a5lszqvp.fsf@nightsong.com>
 by: Jeff Barnett - Wed, 17 Apr 2024 02:50 UTC

On 4/16/2024 8:04 PM, Paul Rubin wrote:
> Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>> Had a quick look at that. I would say the whole SNOBOL family has been
>> left in the dust by Perl.
>
> SNOBOL/SPITBOL in the 1970s were sort of like Perl in the 1990s, I
> think. But, they are mostly of historical interest now. I think by the
> time Spitbol ran on anything resembling a personal computer or
> workstation, it was already history. It ran on old mainframe OS's and
> there wasn't much overlap.

FYI Lisp 2 (discussed in this thread) included a copy of Warren
Teitelman's dissertation project - a data match and manipulate engine.
It was called Flip or something simple but I don't remember. He spent a
summer in Santa Monica converting it to Lisp2. Fred Blair from IBM
Yorktown Heights was there the same summer and worked on importing
Scratchpad to our Lisp too. There was a development, Formula Algol, that
did a similar embedding into Algol so there was a lot of interest in the
1960s of including some sort of pattern match and reconstruction
primitives into programming languages.

This stuff simply exacerbated our limited memory problems on old
machines not matter how interesting they/it might be.
--
Jeff Barnett

Re: Lisp history: IF, etc.

<uvnfd4$1ct1p$4@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10828&group=comp.lang.lisp#10828

  copy link   Newsgroups: comp.lang.lisp
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo...@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.lisp
Subject: Re: Lisp history: IF, etc.
Date: Wed, 17 Apr 2024 03:24:20 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <uvnfd4$1ct1p$4@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <uuehdj$2hshe$1@dont-email.me>
<87wmpg7gpg.fsf@tudado.org> <LISP-20240402085115@ram.dialup.fu-berlin.de>
<20240402084057.881@kylheku.com> <86h6gjpq3i.fsf_-_@williamsburg.bawden.org>
<m3frw2vlok.fsf@leonis4.robolove.meer.net>
<86cyr6pb2l.fsf@williamsburg.bawden.org> <875xwy412p.fsf@nightsong.com>
<868r1up0wk.fsf@williamsburg.bawden.org> <871q7m3wrj.fsf@nightsong.com>
<86zfu9ooux.fsf@williamsburg.bawden.org> <87frw03b4j.fsf@nightsong.com>
<877chbfs00.fsf@yaxenu.org> <87r0f61jkb.fsf@nightsong.com>
<uvkf5e$iaa5$1@dont-email.me> <87il0iynlu.fsf@nightsong.com>
<uvl0hh$p5em$1@dont-email.me> <uvl8v6$qqd0$1@dont-email.me>
<87edb5yxn5.fsf@nightsong.com> <uvn7ph$17j5g$5@dont-email.me>
<87a5lszqvp.fsf@nightsong.com> <uvnde9$1clde$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 17 Apr 2024 05:24:21 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="eab0799947e46f7ee0d29068ff6512f6";
logging-data="1471545"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18bkpJmzfG7y3DLQzJdGeS/"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:29F+P+xM9Sw2wKQznbyuX/BXYzg=
 by: Lawrence D'Oliv - Wed, 17 Apr 2024 03:24 UTC

On Tue, 16 Apr 2024 20:50:45 -0600, Jeff Barnett wrote:

> ... so there was a lot of interest in the
> 1960s of including some sort of pattern match and reconstruction
> primitives into programming languages.
>
> This stuff simply exacerbated our limited memory problems on old
> machines not matter how interesting they/it might be.

Was it a matter of timing, then? Perl came along at just the point where
the hardware was powerful enough to take the complexities of regular
expressions in its stride, so that’s when the whole idea really took off.

Re: Lisp history: IF, etc.

<875xwgzal9.fsf@nightsong.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10829&group=comp.lang.lisp#10829

  copy link   Newsgroups: comp.lang.lisp
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: no.em...@nospam.invalid (Paul Rubin)
Newsgroups: comp.lang.lisp
Subject: Re: Lisp history: IF, etc.
Date: Wed, 17 Apr 2024 00:56:18 -0700
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <875xwgzal9.fsf@nightsong.com>
References: <uu54la$3su5b$6@dont-email.me> <20240402084057.881@kylheku.com>
<86h6gjpq3i.fsf_-_@williamsburg.bawden.org>
<m3frw2vlok.fsf@leonis4.robolove.meer.net>
<86cyr6pb2l.fsf@williamsburg.bawden.org>
<875xwy412p.fsf@nightsong.com>
<868r1up0wk.fsf@williamsburg.bawden.org>
<871q7m3wrj.fsf@nightsong.com>
<86zfu9ooux.fsf@williamsburg.bawden.org>
<87frw03b4j.fsf@nightsong.com> <877chbfs00.fsf@yaxenu.org>
<87r0f61jkb.fsf@nightsong.com> <uvkf5e$iaa5$1@dont-email.me>
<87il0iynlu.fsf@nightsong.com> <uvl0hh$p5em$1@dont-email.me>
<uvl8v6$qqd0$1@dont-email.me> <87edb5yxn5.fsf@nightsong.com>
<uvn7ph$17j5g$5@dont-email.me> <87a5lszqvp.fsf@nightsong.com>
<uvnde9$1clde$1@dont-email.me> <uvnfd4$1ct1p$4@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 17 Apr 2024 09:56:18 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="fd01e1c77450cab9a0130dfe044f78a7";
logging-data="1569939"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18TYOZZ16QOk5/H6OpKGQBA"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:tBjFsSVEYeGe9liyJEhd/hw2/gE=
sha1:bO4A0zmBiQcvNddt4TuN20J5Tqk=
 by: Paul Rubin - Wed, 17 Apr 2024 07:56 UTC

Lawrence D'Oliveiro <ldo@nz.invalid> writes:
> Was it a matter of timing, then? Perl came along at just the point where
> the hardware was powerful enough to take the complexities of regular
> expressions in its stride, so that’s when the whole idea really took off.

Unix had regular expressions because Thompson's QED editor on some weird
old GE(?) minicomputer had had them. It compiled the regexex into
machine code, iirc. Perl was sort of Awk on steroids and Awk also had
regexes. I think regexes per se were never very cpu or memory hungry.

Snobol and Spitbol didn't have regexes. They did pattern matching by
brute force backtracking. By that era though, computers had much more
memory than they did when Lisp 2 was happening.


devel / comp.lang.lisp / Re: Lisp history: IF, etc.

Pages:123
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor