Record a command for replay should the user request a :replay
Record a command for replay should the user request a :replay
Tries to create a JLineReader, falling back to SimpleReader: unless settings or properties are such that it should start with SimpleReader.
Tries to create a JLineReader, falling back to SimpleReader: unless settings or properties are such that it should start with SimpleReader.
Close the interpreter and set the var to null.
Close the interpreter and set the var to null.
Run one command submitted by the user.
Run one command submitted by the user. Two values are returned: (1) whether to keep running, (2) the line to record for replay, if any.
Available commands
Available commands
Create a new interpreter.
Create a new interpreter.
print a friendly help message
print a friendly help message
Show the history
Show the history
Try to install sigint handler: ignore failure.
Try to install sigint handler: ignore failure. Signal handler will interrupt current line execution if any is in progress.
Attempting to protect the repl from accidental exit, we only honor a single ctrl-C if the current buffer is empty: otherwise we look for a second one within a short time.
interpret all lines from a specified file
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 main read-eval-print loop for the repl.
The main read-eval-print loop for the repl. It calls command() for each line of input, and stops when command() returns false.
The context class loader at the time this object was created
The context class loader at the time this object was created
Power user commands
Power user commands
Print a welcome message
Print a welcome message
process command-line arguments and do as they request
process command-line arguments and do as they request
Prompt to print when awaiting input
Prompt to print when awaiting input
create a new interpreter and replay all commands so far
create a new interpreter and replay all commands so far
A reverse list of commands to replay if the user requests a :replay
A reverse list of commands to replay if the user requests a :replay
A list of commands to replay if the user requests a :replay
A list of commands to replay if the user requests a :replay
Search the history
Search the history
fork a shell and run a command
fork a shell and run a command
Standard commands *
Standard commands *
(Since version 2.9.0) Use intp
instead.
(Since version 2.9.0) Use intp
instead.
(Since version 2.9.0) Use process
instead
(Since version 2.9.0) Use process
instead
A compatibility stub.
(Since version 2.9.0) Use a class in the scala.tools.nsc.interpreter package.