;; You should have received a copy of the GNU General Public License
;; along with JSCL. If not, see <http://www.gnu.org/licenses/>.
+(/debug "loading toplevel.lisp!")
(defun eval (x)
(js-eval (ls-compile-toplevel x t)))
(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))