The emitter to use to display any output.
Process a user input line.
Whether lines consisting entirely of whitespace should be ignored or not.
Whether lines consisting entirely of whitespace should be ignored or not. Default: yes.
Read lines from the console and pass non-null ones to processline
.
Read lines from the console and pass non-null ones to processline
.
If ignoreWhitespaceLines
is true, do not pass lines that contain
just whitespace, otherwise do. Continue until processline
returns
false. Call setup
before entering the loop and call prompt
each
time input is about to be read. The command-line arguments are
passed to the setup
method.
Define the prompt (default: "> "
).
Carry out setup processing for the REPL.
Carry out setup processing for the REPL. Default: do nothing.
General support for applications that implement read-eval-print loops (REPLs). Output is emitted using a configurable emitter.