In spring 1980 Steve Willson was the TA for ICS 145, the compiler construction lab at UC Irvine. He wrote Pseudo-Steve in MLISP on the campus DECsystem-10 to answer the routine questions about the course. This is the same program, compiled to WebAssembly, with its working shown: which words it used, which branch of the knowledge tree it followed, what it remembered, and which inference rule picked the reply.
Loading Pseudo-Steve…
The program keeps its last two searches (OSEARCH). The newer one supplies context when your next question doesn't say enough, and the rules compare the two.
Nothing yet. Ask a question.
Ask a question, or click one of the questions from the 1980 paper under the terminal.
After each search, the rules are checked in order and the first that fits picks the reply. A hit means the search reached a leaf using at least one of your words.
Each node lists its branches with the keywords that lead to them. The text in italics is what the node says when the search stops there. The search starts at TOP, takes the first branch whose keyword appears in your question, and repeats until nothing matches.
The tree. Steve built it by hand from the course syllabus: 83 nodes, general topics near the top (the class, assignments, Steve, Ken) and specific facts at the leaves.
The search. Starting at TOP, the program looks for a branch keyword among your words. When one matches, it moves down and crosses that word off. If none of your words match, it tries the keywords from the previous search, which is how "how about assignment two" works after "when is assignment three due".
The rules. The June 1980 version compares the last two searches to guess what went wrong. Two hits on the same answer suggest a misunderstanding. Two misses on the same node suggest missing context. A single miss gets a hint about what the node knows. In October 1980 Steve deleted rules 1 to 3 ("RULES 1 & 2 & 3 WERE BORING").
A 1980 quirk, kept. In MLISP's FOR … UNTIL, the stop test ends only the inner loop, so after
a match the first keyword of each later branch is still tried. Steps marked "quirk" come from that.