X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=prelude.js;h=38a13d7fdb52ce9d7d011b820d885498eed2ad8e;hb=1feb6093af9417a611ecd57c25f3f69cc9dff73b;hp=b62c9cfccf52617a0a1fb38677914c3b60ea8ea7;hpb=2c6ff3077748b3dbcd855b1c8b4c76ae02a9e46f;p=jscl.git diff --git a/prelude.js b/prelude.js index b62c9cf..38a13d7 100644 --- a/prelude.js +++ b/prelude.js @@ -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(){