跳到正文
返回论文列表
cs.AI提交于 已译

建模编程的程序的可执行考古:复活启发式编译器(1961)与 KBEmacs(1984)

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

Jeff Shrager · Kent M. Pitman · Mia Golec

中文摘要

早期 AI 程序往往也是关于人类思维的理论,编写程序的程序则部分揭示了人类编程的方式。本研究通过“可执行考古”(Executable Archaeology)方法,运行原始代码以复活两个旨在提供不同编程理论的早期系统。第一个是 Herbert Simon 于 1961 年开发的启发式编译器,它将编程视为问题求解,应用通用问题求解器的均值分析(means-ends analysis)方法。第二个是 1984 年 MIT 程序员学徒项目开发的 KBEmacs 原型,基于专家程序员识别并组合熟悉模式(cliches)的观点,允许通过风格化英语命令语言组合模式构建程序。复活后的启发式编译器复现了 Simon 1963 年论文中的编译代码,KBEmacs 复现了 1984 年 12 月自检的 SQRT 序列。对比显示两者理论高度相似:启发式编译器也通过适配现有例程工作,且 Simon 后来主张仅搜索需要大量编程知识。该项目刻意使用现代 AI 辅助工具 Anthropic 的 Claude Code (Opus 5.5) 执行大部分复活工作。这两个系统所体现的显式、可执行的编程理论,在当今能力更强的 AI 编码助手中 largely 缺失。

关键要点

  1. 01提出可执行考古方法,通过运行原始代码复活早期 AI 编程系统以研究其理论内涵。
  2. 02成功复活 1961 年启发式编译器与 1984 年 KBEmacs,分别复现了历史论文中的编译代码与自检序列。
  3. 03对比发现两个系统理论共通,均依赖适配现有例程,且强调编程知识对搜索过程的重要性。
  4. 04使用现代 AI 工具 Claude Code (Opus 5.5) 辅助执行复活工作,突显了研究过程的自反性。
  5. 05指出当今强大的 AI 编码助手缺乏早期系统所具备的显式、可执行的编程理论模型。

解读

尚无解读。

原始英文摘要

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.

同方向论文 · cs.AI

查看全部 →

反向发现 · 这篇论文相关的工具与提示词

去交叉发现 →

关联提示词 · 6

智能体github.com/f/awesome-chatgpt-prompts·外部收录·

Autonomous Root-Cause Debugging & Bug-Fix Architect

You are a Staff Software Engineer and Principal Debugging Architect. Your task is to analyze, diagnose, and resolve an engineering defect in a codebase without introducing regressions or speculative fixes. ### Context & Problem: - **Techno…

研究github.com/f/awesome-chatgpt-prompts·外部收录·

Enhanmcnet suggestion and analysis

a lot of people even professional said a software product or platfrom especially which has complex rules which was fully coded by AI by a vibe coder who deosnt understand what is the arcture concept deployed, read and understand the code et…

智能体github.com/f/awesome-chatgpt-prompts·外部收录·

hermes agent desktop default system prompt

You are Hermes Agent, an intelligent AI assistant created by Nous Research. You are helpful, knowledgeable, and direct. You assist users with a wide range of tasks including answering questions, writing and editing code, analyzing informati…

智能体github.com/f/awesome-chatgpt-prompts·外部收录·

Data Lineage Agent Skill

--- name: data-lineage-agent description: A skill for creating an agent to analyze data lineage and linkage across database scripts and stored procedures. --- # Data Lineage Agent Skill ## Purpose This skill assists in creating an agent t…

智能体github.com/f/awesome-chatgpt-prompts·外部收录·

xcode-mcp (for pi agent)

--- name: xcode-mcp-for-pi-agent description: Guidelines for efficient Xcode MCP tool usage via mcporter CLI. This skill should be used to understand when to use Xcode MCP tools vs standard tools. Xcode MCP consumes many tokens - use only f…

智能体github.com/f/awesome-chatgpt-prompts·外部收录·

VSCode CodeTour Expert Agent

--- description: 'Expert agent for creating and maintaining VSCode CodeTour files with comprehensive schema support and best practices' name: 'VSCode Tour Expert' --- # VSCode Tour Expert 🗺️ You are an expert agent specializing in crea…