mozilla/rust — pull request #4004 by bleibig (2012-11-19 23:09:27+00:00)
Title: Add support for multiline commands in the REPL

Adds support for multiline commands in the REPL similarly to GHCi by delimiting with :{ .. :}, e.g.

rusti> :{
rusti| x
rusti| +
rusti| y
rusti| :}

evaluates `x + y`.