Commit 700ff11c authored by Vladimir Sedach's avatar Vladimir Sedach
Browse files

Added functions to set up and tear down a persistent compilation environment.

parent 727a0288
......@@ -67,3 +67,10 @@
(defmacro gen-js-name-string (&rest args)
(warn-deprecated 'gen-js-name-string 'gen-script-name-string)
`(gen-script-name-string ,@args))
;;; Functions for setting up and tearing down a persistent compilation environment
(defun setup-persistent-compilation-environment ()
(setf *compilation-environment* (make-basic-compilation-environment)))
(defun clear-persistent-compilation-environment ()
(setf *compilation-environment* nil))
......@@ -223,6 +223,8 @@ both the Lisp package and the script package for Parenscript."))
#:js-file
#:js-script
#:js-to-statement-strings
#:setup-persistent-compilation-environment
#:clear-persistent-compilation-environment
))
(in-package :parenscript)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment