Record a command for replay should the user request a :replay
Close the interpreter
Run one command submitted by the user.
Run one command submitted by the user. Three values are returned: (1) whether to keep running, (2) the line to record for replay, if any.
interpret all lines from a specified file
Interpret expressions starting with the first line.
Interpret expressions starting with the first line. Read lines until a complete compilation unit is available or until a syntax error has been seen. If a full unit is read, go ahead and interpret it. Return the full string to be recorded for replay, if any.
The context class loader at the time this object was created
The context class loader at the time this object was created
print a friendly help message
Print a welcome message
The main read-eval-print loop for the interpreter.
The main read-eval-print loop for the interpreter. It calls
command()
for each line of input.
create a new interpreter and replay all commands so far
A list of commands to replay if the user requests a :replay
A reverse list of commands to replay if the user requests a :replay
The interactive shell. It provides a read-eval-print loop around the Interpreter class. After instantiation, clients should call the
run
method.