> But a REPL is essentially a single line editor from which you can evaluate expressions/statements.
It is not always single line, look at IDLE or even Firefox supports multiline REPL capabilities although it still needs some improvements (like not rerunning var declaration statements).