Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
5 lines (4 sloc) 245 Bytes

this is basically a cut-and-paste of the coffeescript repl, but it exposes the readline interface to the global scope, which allows the user to do stuff like add reverse-search capability and persisting command-line history between invocations.