joyent/node — pull request #2980 by seebees (2012-03-21 18:14:56+00:00)
Title: REPL cmd without proceeding .

If you execute a REPL command without a . it will result in a ReferenceError, catch the error and try for a REPL command.

This is related to #2974, but I think it could be useful in it's own right.

Clearly, I need tests and what-not. But this gives people a chance to comment and tell me I'm crazy or not. I'll put the details of how I would use this in #2974.