This paper presents a fascinating exercise in "Executable Archaeology," where researchers use modern AI tools to bring two foundational but long-dormant artificial intelligence systems back to life. By reanimating Herbert Simon’s Heuristic Compiler (1961) and MIT’s KBEmacs (1984), the authors explore how early pioneers conceptualized the act of programming—not just as a technical task, but as a window into human cognition.
TL;DR
Researchers used modern AI (Claude Code) to reanimate two landmark historical programming assistants from 1961 and 1984. The project reveals that while modern LLMs are vastly more capable, they lack the explicit, inspectable theories of programming—such as "means-ends analysis" and "cliches"—that these early systems embodied.
What Problem Does This Paper Address?
In the early days of AI, programs were often intended as formal theories of human thought. A program that could write other programs was, by extension, a theory of how humans program. However, as software environments evolved, these "executable theories" became unrunnable, leaving their mechanisms to be understood only through aging prose and static listings.
The authors address the gap between today’s "black box" Large Language Models (LLMs) and the "white box" symbolic AI of the past. By reanimating these systems, they aim to compare early explicit models of programming (like problem-solving via search or pattern-matching via templates) with the implicit knowledge stored in modern neural networks.
Methods
The authors employed a methodology they call "reanimation"—a branch of Executable Archaeology. This involves:
- Transcription: Converting historical line-printer listings and printouts into machine-readable source code.
- Emulation/Compatibility Layers: Building interpreters for obsolete languages (like IPL-V) or compatibility layers for defunct environments (like Zetalisp on a Lisp Machine) to run on modern hardware (SBCL/Common Lisp).
- AI-Assisted Recovery: Interestingly, the authors used a modern AI coding assistant, Claude Code (Opus 5.5), to perform the heavy lifting of transcription, debugging, and building these compatibility layers. This creates a "reflexive" loop where a system with implicit knowledge helps restore systems with explicit knowledge.
Datasets
The "datasets" in this context are the original source materials recovered from archives:
- The Heuristic Compiler: A 1961 line-printer listing (approx. 4,470 lines) found in Herbert Simon’s papers at CMU.
- KBEmacs: A four-volume printout from January 1985 (approx. 34,500 lines) preserved by team member Kent Pitman.
- Benchmarks: The systems were evaluated against their original historical outputs, such as the
SQRTself-test sequence for KBEmacs and specific functional descriptions from Simon's 1963 paper.
Key Insights and Ideas
- Conceptual Continuity: Despite being separated by 25 years, both systems rely on the reuse of known solutions. Simon’s functional compiler adapts analogous routines, while KBEmacs uses a library of "cliches" (standard computational patterns).
- Explicit vs. Implicit Knowledge: Early systems were "knowledge-starved" but highly inspectable. KBEmacs knew only a few dozen cliches, whereas an LLM effectively contains a vast, implicit library of millions. However, the LLM cannot "reason" about these patterns in the explicit way KBEmacs could through its "Plan Calculus."
- The Persistence of the Loop: The "means-ends analysis" loop used in 1961—finding a difference between the current state and the goal and applying an operator to fix it—is structurally identical to the "reason-act-test-repair" harnesses used to make modern AI agents effective today.
- Representation Shift: KBEmacs didn't just edit text; it translated code into "plans" (flowcharts with explicit data/control flow) to perform edits, then translated them back to text. This "representation shift" allowed for modularity that raw text lacks.
Key Results
The reanimation was highly successful in reproducing historical behavior:
- Heuristic Compiler: The reanimated system produced IPL-V code that exactly matches the examples in Simon’s 1963 paper. Output from the reanimated Heuristic Compiler
- KBEmacs: The system successfully replayed the 1984
SQRTself-test, building a square-root routine from three cliches in seven commands. The generated Lisp code was identical to the 1984 record and functioned correctly (e.g.,(mysqrt 2.0)returned1.4142157). - Cliche Library: The authors successfully restored the ability to define and combine cliches, such as the
SUCCESSIVE-APPROXIMATIONpattern shown below. A cliche from KBEmacs’s library
Limitations and Future Work
- Partial Recovery: Some components remain "undiscovered territory," such as the English-language front-end for the Heuristic Compiler and the Ada/PL/I interfaces for KBEmacs.
- Environment Gaps: KBEmacs was designed for the Zmacs editor on MIT Lisp Machines; the current reanimation is "headless" (command-line only). A future goal is to hook it into a modern Emacs.
- Theoretical Scope: Reanimating behavior proves the code works, but it doesn't necessarily prove the underlying psychological theories of how humans program are correct—only that they are now once again available for scientific scrutiny.
Summary updated