vendor/wisp.js in ruby-wisp-source-0.7.0 vs vendor/wisp.js in ruby-wisp-source-0.8.0
- old
+ new
@@ -1,15 +1,21 @@
-var _ns_ = "wisp.wisp";
-module.namespace = _ns_;
-module.description = "Wisp program that reads wisp code from stdin and prints\n compiled javascript code into stdout";
-var fs = require("fs");
-var path = require("path");
-var Module = (require("module")).Module;
-var start = (require("./repl")).start;
-var str = (require("./runtime")).str;
-var compile_ = (require("./compiler")).compile_;
-var read_ = (require("./reader")).read_;;
+var _ns_ = {
+ "id": "wisp.wisp",
+ "doc": "Wisp program that reads wisp code from stdin and prints\n compiled javascript code into stdout"
+};
+var fs = require("fs");;
+var path = require("path");;
+var module = require("module");
+var Module = module.Module;;
+var wisp_repl = require("./repl");
+var start = wisp_repl.start;;
+var wisp_runtime = require("./runtime");
+var str = wisp_runtime.str;;
+var wisp_compiler = require("./compiler");
+var compile_ = wisp_compiler.compile_;;
+var wisp_reader = require("./reader");
+var read_ = wisp_reader.read_;;;
var exit = function exit(error) {
return error ?
(function() {
console.error(error);
@@ -50,6 +56,6 @@
void(0);
}, 20);
})() :
Module._load(path.resolve((process.argv || 0)[2]), null, true);
};
-exports.main = main
+exports.main = main
\ No newline at end of file