Executable Archaeology of Programs That Model Programming: Reanimating the Heuristic Compiler (1961) and KBEmacs (1984)

arXiv cs.AI Papers

Summary

An arXiv paper on 'Executable Archaeology' that reanimates two historical AI programming systems — Herbert Simon's 1961 Heuristic Compiler and MIT's 1984 KBEmacs — revealing their surprisingly similar theories of programming, with the reanimation work itself assisted by Anthropic's Claude Code.

arXiv:2610.36341v1 Announce Type: new Abstract: Early AI programs were often also theories of how people think, and programs that wrote programs were, in part, theories of how people program. Here we report on the reanimation of two such programs that offer two seemingly different theories of programming and were developed for quite different purposes. The first, Herbert Simon's Heuristic Compiler (1961), was an experimental model of programming as problem-solving, applying the means-ends analysis methods of the General Problem Solver to investigate the nature of the programming task. The second, KBEmacs (1984), was a working prototype of an intelligent programming assistant developed by MIT's Programmer's Apprentice project, built on the view that expert programmers recognize and combine familiar patterns, or "cliches." It let a programmer build up programs by combining cliches through a stylized English command language. We approach both through the methodology of Executable Archaeology, the study of historical computational systems by running their original code, a process we call "reanimation." Our reanimation of the Heuristic Compiler reproduces the compiled code appearing in Simon's 1963 paper, and our reanimation of KBEmacs reproduces the SQRT sequence of its December 1984 self-test. Examined side by side, the two theories turn out to have much in common: the Heuristic Compiler also works by adapting existing routines, and Simon later argued that search alone requires a large body of programming knowledge. To highlight the reflexivity of this project, we deliberately used a modern AI-assisted programming tool, Anthropic's Claude Code (Opus 5.5), to carry out much of the detailed reanimation work, building on a significant base of existing software. The explicit, executable theories of programming that both systems embodied are largely absent from today's far more capable AI coding assistants.
Original Article

Similar Articles

Coding agents think ahead of time

Hacker News Top

This paper investigates how language models under coding agents internally represent the evolving program during iterative editing. The authors find that linear probes can decode program properties (e.g., parsing, test pass rate) from residual streams, and surprisingly, these representations predict future outcomes before the agent materializes edits, revealing a 'latent programming horizon'.

80s computing era meets small local decision models

Reddit r/LocalLLaMA

开发者介绍了 amber-8,一个将 80 年代汇编式确定性代码与本地小决策模型的概率判断相结合的编程实验,用于把自然语言指令拆解为可执行的栈操作代码。

The future of programming (1982)

Hacker News Top

A retrospective 1982 piece speculating on the future of programming, reflecting the era's predictions about languages, tools, and software development.