node/bin/node-repl

12 lines
291 B
Plaintext
Raw Normal View History

2009-09-12 02:32:24 +08:00
#!/usr/bin/env node
2009-10-30 06:59:35 +08:00
process.mixin(require("/utils.js"));
puts("Welcome to the Node.js REPL.");
puts("Enter ECMAScript at the prompt.");
puts("Tip 1: Use 'rlwrap node-repl' for a better interface");
puts("Tip 2: Type Control-D to exit.");
2009-09-12 02:32:24 +08:00
require("/repl.js").start();
2009-09-12 02:32:24 +08:00
// vim:ft=javascript