}
private boolean exit = false;
private void processCommand(String in) {
Command command = CommandFactory.interpret(language, in);
Action action = command.getAction();
if (command instanceof ExitCommand) {
exit = true;
}
else if (command instanceof HelpCommand) {