(defun bootstrap ()
(setq *environment* (make-lexenv))
- (setq *literal-table* nil)
+ (setq *literal-symbols* nil)
(setq *variable-counter* 0
*gensym-counter* 0
*literal-counter* 0
output))
-(defvar *literal-table* nil)
+(defvar *literal-symbols* nil)
(defvar *literal-counter* 0)
(defun genlit ()
(toplevel-compilation (code "var " v " = " c))
v)))))))
+
(define-compilation quote (sexp)
(literal sexp))
(ls-compile
`(progn
,@(mapcar (lambda (s) `(%intern-symbol (%js-vref ,(cdr s))))
- *literal-table*)
- (setq *literal-table* ',*literal-table*)
+ *literal-symbols*)
+ (setq *literal-symbols* ',*literal-symbols*)
(setq *variable-counter* ,*variable-counter*)
(setq *gensym-counter* ,*gensym-counter*)
(setq *block-counter* ,*block-counter*)))))