.historyFile(historyFile(!sandboxed))
.expressions(expressions)
.sandboxed(sandboxed)
.logger(logger);
RestConsole console = new RestConsole(new TimingOutConsole(new SimpleConsole(consoleConfig), expressionTimeout(args), inactivityTimeout(args)), port);
ExpressionReader reader = new ExpressionReader(ignoreConsole(args) ? ignoreConsoleInput() : readFromConsole());
if (sandboxed)
sandboxApplication();
console.start();
do {
console.execute(reader.readExpression().getOrNull());
logger.info("");
} while (true);
}