commandInterpreter -- the top level command interpreter

Synopsis

• Usage:
commandInterpreter f
• Inputs:
• f, () or , , an instance of the type Pseudocode, or
• Consequences:
• the top level command interpreter will be called with the symbols in the lexical scope of f visible to the user.

Description

One more i will be added to prompt each time the command interpreter is entered. To leave it, type end or the end of file character.
 i1 : f = (x -> y -> 11) 13 o1 = f o1 : FunctionClosure i2 : commandInterpreter f ii3 : x oo3 = 13 ii4 : end i5 : x o5 = x o5 : Symbol
This facility is useful as a debugging tool, and is used by the standard debugger.

For the programmer

The object commandInterpreter is .