Remove ad-hoc binding writer functions
[jscl.git] / prelude.js
index b62c9cf..38a13d7 100644 (file)
@@ -1,8 +1,13 @@
 // This file is prepended to the result of compile ecmalisp.lisp, and
 // contain runtime code that ecmalisp assumes to exist.
 
+var window = this;
 var nil;
 
+function globalEval (x) {
+    return eval.call (window, x);
+}
+
 function pv (x) { return x==undefined? nil: x; }
 
 function mv(){