X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Ftoplevel.lisp;h=99d3b390f4758bf2123dea07d592021a53f8781b;hb=5174d9250a918896a8505fcd18f9960a3ea634ec;hp=a3965548895c3a190d15fbd63b5e568014fb3da7;hpb=75633282e9f9f4b0b1c74bdcf27f693988e079fc;p=jscl.git diff --git a/src/toplevel.lisp b/src/toplevel.lisp index a396554..99d3b39 100644 --- a/src/toplevel.lisp +++ b/src/toplevel.lisp @@ -16,6 +16,7 @@ ;; You should have received a copy of the GNU General Public License ;; along with JSCL. If not, see . +(/debug "loading toplevel.lisp!") (defun eval (x) (js-eval (ls-compile-toplevel x t))) @@ -249,6 +250,8 @@ (setq *package* *user-package*) +(defvar *root* (%js-vref "window")) + ;;; Set some external entry point to the Lisp implementation to the ;;; console. It would not be necessary when FFI is finished. (let ((*root* #j:lisp))