Introduction
In the early 1970s, learning a programming language like LISP was a daunting task. Traditional Computer-Aided Instruction (CAI) systems were often rigid, following a "programmed text" format that failed to handle the spontaneous, messy questions a human student might ask. To address this, researchers developed ISLE (Interactive Student LISP Environment), a "mixed-initiative" tutoring system designed to provide a friendly, informative environment that understands the semantics of the language.
System Architecture
ISLE is built around a modular architecture designed to facilitate a dialogue between the student and the machine. The system consists of four primary components coordinated by a central monitor: a parser, an evaluator, an editor, and a semantic specialist routine.
The Monitor acts as the traffic controller, directing student input to the appropriate module. The Parser handles natural language queries, while the Evaluator executes LISP code. A key feature is the integration of Permanent Semantic Information (a semantic network of LISP definitions) and Temporary Semantic Information (dialogue history and student-defined functions), allowing the system to maintain context throughout a session.
Semantic-Driven Fuzzy Parsing
The technical core of ISLE is its "semantic-driven fuzzy grammar." Unlike strict syntactic parsers of the era, ISLE’s parser looks for specific semantic "anchors" (keywords or phrases) and can skip over words it doesn't recognize. This allows students to interact using natural English without needing to adhere to a perfect, rigid syntax.
As shown in the translation examples, the system categorizes LISP knowledge into distinct buckets: Functions (e.g., ATOM), Function Types, Data Structures, and General Concepts. By prioritizing semantics over syntax, the system becomes robust against conversational filler and minor typos. For instance, it can successfully resolve anaphoric references, such as using "it" to refer to a previously mentioned function or data structure.
Key Insights and Capabilities
A major breakthrough in ISLE was the realization that a parser should fail if a sentence doesn't make semantic sense, even if it is syntactically correct. This "semantics-first" approach allows the system to monitor the student's workspace dynamically. When a student defines a new function, ISLE scans the code to record bound variables, global settings, and external function calls. This enables the system to answer specific questions about the student's own code, such as "What variables does my function FOO set?"
Results and Performance
Implemented on an IBM 360/65, ISLE was remarkably efficient for its time, processing natural language questions in less than one second while requiring only 250k bytes of memory. The system demonstrated a sophisticated ability to disambiguate terms based on context. For example, it could distinguish between "ATOM" as a LISP function and "ATOM" as a general data structure depending on the student's query. Furthermore, it could identify logical errors in student code—such as a missing base case in a recursive function—and provide targeted feedback on where the logic failed.
Limitations of the 1970s Frontier
Despite its successes, the authors noted several limitations reflecting the state of NLP in the mid-70s. The system struggled with complex noun phrases and lacked a deep understanding of causality (the "why" behind specific side-effects). Additionally, while it handled simple pronouns, it could not manage advanced ellipsis where a student might omit large portions of a follow-up question. Future work aimed to develop a better taxonomy of "action verbs" to allow students to manipulate their code entirely through English commands.
Summary updated