REPL multiline

Initial multiline construct support for REPL.

Fixes #222.