The Executable Archaeology project recovers historical programs and runs them in as close to their original code as possible.
As described in my previus post, we recently reanimated Herbert Simon’s Heuristic Coder (aka Heuristic Compiler), written in IPL-V in 1961. This was the earliest attempt to build an AI-based coding assistant. Our reanimation reproduces many of the code snippets reported in Simon’s 1963 JACM.
We’ve just added KBEmacs, the Knowledge-Based Editor. This was the primary demo of the MIT AI Lab’s Programmer’s Apprentice, worked on for over a decade by Richard Waters and colleagues. The programmer’s apprentice took natural langauge direction and wired together progam snippets based on cliches, to create compete running code.
KBEmacs was transcribed from listings provided by Kent M. Pitman of the original team. In order to avoid the editor part we reanimated KBEmacs as a headless tool, running from the original code in CommonLisp via a ZetaLisp adapter.
Although this is also an ongoing project, we have already reproduced several of the original 1984 self-tests:
With AI-assisted coding on everyone’s mind of late it’s worth understanding its ancestry – and even more so, being able to actually see that ancestry in action and experiment with it!