Comment by ozymandiax
17 hours ago
Written by Peter Deutsch, then a then-high school student on a tiny 4K (admittedly, 4K 18-bit words) machine. Amazingly usable - and lives on in the Python REPL concept.
Our PiDP-1 simulator on github lets you try it out on any Linux machine (not just a Raspberry PI): https://github.com/obsolescence/pidp1
Posting this in the hope that someone will feel triggered to backport Eliza, it was done in the 1960s but it's been lost :-)
> Posting this in the hope that someone will feel triggered to backport Eliza, it was done in the 1960s but it's been lost :-)
Some of us who remember actually playing with Eliza are absolutely amused by all the hype around LLMs (because it's so similar to the hype heard from "normies" who saw Eliza and thought we were "just around the corner from real AI"; The same folk who thought we'd all have a flying car in every garage by now, LOL!). Still really impressed by what LLMs actually can do though, despite them being not much closer to true "thinking machines". ;)
ELIZA has been refound: https://sites.google.com/view/elizaarchaeology/home
We already have it running on the PDP-10 reconstruction, and it is known that people around Deutsch at BBN ported it back to the PDP-1. But that version has been lost. From the link you gave, a backport would be feasible... especially because the PDP-1 simulator has the full memory upgrade to 64Kw!
Actually, https://github.com/cl-aip/eliza/ would be a great starting point for a backport to Lisp 1.5. Hmmm...
When we visited some of the 1970s 'heros' of the MIT AI Lab, we were told the informal story behind SHRDLU, the AI living in a PDP-10 3D world. How this graphical AI triggered the first AI Summer --
https://www.youtube.com/watch?v=8ZGQcJVdjj8
-- and as it fell short of first impressions, perhaps the first winter too?
Fun times, gettin' in early on the "tech scene" and watching it progress so quickly (yet at the same time so slowly in many ways compared to how it could have gone had greed and ignorance not held it back by decades). :)
2 replies →
> Posting this in the hope that someone will feel triggered to backport Eliza, it was done in the 1960s but it's been lost :-)
When in doubt, there is always the option to implement Eliza in a Forth[0] embedded within a dish washing machine's firmware. It could converse about one's thoughts regarding pre-soak techniques. :-)
0 - https://www.forth.com/starting-forth/
There's an odd wrinkle in the early history of BASIC. From a 2002 interview with Thomas Kurtz https://exhibits.library.dartmouth.edu/s/AdventuresomeSpirit... (direct link to PDF: https://exhibits.library.dartmouth.edu/files/original/961732... )—the summer in question is 1959:
> Just one little story…I remember…The name Bob Hargraves [Robert F. “Bob” Hargraves, Jr. ʻ61] should come up somewhere in this business because he was the class I think of 1962, but he was a physics major at Dartmouth. He went on to get a Ph.D. in physics. He came back to Dartmouth as associate director of the computer center many years later. At any rate, he was one of those that worked on the LGP-30 that first summer and he devised a simple higher-level language program. By todayʼs standards, it was pretty crude, but it was FORTRAN-like, you know – sort of – in just six weeks.
The HOPL BASIC paper https://dl.acm.org/doi/pdf/10.1145/800025.1198404 has more about this language:
> One student, without any prior background in computing, prepared a simple higher level language and language processor he called DART (Hargraves, 1959). Obviously influenced by FORTRAN, but wishing to avoid scanning general arithmetic expressions, he required parentheses around all binary operators and their operands. Hardly earth-shaking, but one conclusion was inescapable: a good undergraduate student could achieve what at that time was a professional-level accomplishment, namely, the design and writing of a compiler. This observation was not overlooked.
But at the same time Edgar T. Irons https://dl.acm.org/profile/81100268091/ is in town working on ALGOL syntax, and when Kemeny and Kurtz grab the wheel back they steer language development at Dartmouth towards more syntax (Kurtz assigns four undergraduates including Hargraves to implement ALGOL 58, resulting in ALGOL 30) and more lumpen, assembler-like semantics (Kemeny's DOPE https://en.wikipedia.org/wiki/Dartmouth_Oversimplified_Progr... in particular is a pseudo-assembler.) It was definitely DART that got Kurtz interested in implementing ALGOL on the LGP-30 in the first place though—see pp. 1-2 of the ALGOL 30 report ("ALGOL for the LGP-30"): https://people.csail.mit.edu/garland/publications/Reprints/1... : "It should be mentioned that our becoming involved in this project was a direct result of Hargraves’ having devised a complete language system (DART) during the summer of 1959."
But back to the point ... an interpreter (surely) for a high-level programming language relying on explicit parentheses, written in Dartmouth, in the summer of 1959? How much did Hargraves know about at that point about the IBM 704 implementation of LISP, finished by March 1959? To be sure, I doubt that DART was anything much like a full implementation of even LISP 1, but just the idea of doing a simple interpreter for FORTRAN-like nested mathematical expressions by requiring parentheses everywhere seems familiar. (McCarthy himself was still trying to do LISP as a FORTRAN extension as late as mid-1958 https://interlisp.org/history/bibliography/gi8mchkf .)
I am very impressed by the simulator, and I really wish I could defend taking time to dig into PDP-1 programming. You make it look like an absolute blast!
>Posting this in the hope that someone will feel triggered to backport Eliza, it was done in the 1960s but it's been lost :-)
you can run eliza in emacs, just " M-X doctor " enter
But we'd need to backport emacs to the PDP-1 then :-)