HeadlinesBriefing favicon HeadlinesBriefing.com

PDP-1 Lisp: The Teen Coder Who Invented the REPL in 1960

Hacker News •
×

A 14-year-old high school student named Peter Deutsch implemented Lisp on the PDP-1 computer in 1960, creating the first interactive programming environment. Working from his father's MIT connections, Deutsch built a minimalist yet efficient Lisp interpreter that ran on the tiny PDP-1 system. This early implementation transformed Lisp from punch-card theory into a practical, interactive tool.

Deutsch's most significant contribution was inventing the read-eval-print loop (REPL), now standard in languages like Python and JavaScript. Before this innovation, programming involved batch processing with punch cards. The REPL allowed immediate feedback and interactive development, making Lisp the first truly interactive programming environment. This concept remains central to Lisp dialects today and influenced decades of development tools.

The documentation details practical operation of PDP-1 Lisp, including loading code from paper tape and saving functions back to storage. Users must toggle Sense Switch 5 for typewriter input versus paper tape loading, and the system operates in octal notation where 4+4=10. Error recovery requires manual intervention through front panel controls.

Modern enthusiasts can leverage AI tutors by feeding .md documentation files to ChatGPT or Claude for interactive PDP-1 Lisp assistance. The approach provides immediate help with syntax and operations, bridging the gap between 1960s hardware and contemporary development workflows.