Any application can potentially be converted to a REPL by creating a wrapper script that reads input, executes the application with the input, prints the result and loops that process.