Process a user input line.
Process a user input line.
An emitter for standard output.
An emitter for standard output.
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: "> "
).
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 to standard output.