Add compiler dynvars for compatibility
This commit is contained in:
parent
efe4f214cc
commit
2ac1428341
1 changed files with 4 additions and 0 deletions
|
|
@ -34,6 +34,8 @@
|
||||||
(def compile-files (core-dynamic-var '*compile-files* false))
|
(def compile-files (core-dynamic-var '*compile-files* false))
|
||||||
(def unchecked-math (core-dynamic-var '*unchecked-math* false))
|
(def unchecked-math (core-dynamic-var '*unchecked-math* false))
|
||||||
(def math-context (core-dynamic-var '*math-context*))
|
(def math-context (core-dynamic-var '*math-context*))
|
||||||
|
(def compile-path (core-dynamic-var '*compile-path* *compile-path*))
|
||||||
|
(def compiler-options (core-dynamic-var '*compiler-options*))
|
||||||
|
|
||||||
(defn read+string
|
(defn read+string
|
||||||
"Added for compatibility. Must be used with
|
"Added for compatibility. Must be used with
|
||||||
|
|
@ -173,6 +175,8 @@
|
||||||
'*compile-files* compile-files
|
'*compile-files* compile-files
|
||||||
'*unchecked-math* unchecked-math
|
'*unchecked-math* unchecked-math
|
||||||
'*math-context* math-context
|
'*math-context* math-context
|
||||||
|
'*compiler-options* compiler-options
|
||||||
|
'*compile-path* compile-path
|
||||||
'with-precision (sci/copy-var with-precision clojure-core-ns)
|
'with-precision (sci/copy-var with-precision clojure-core-ns)
|
||||||
'-with-precision (sci/copy-var -with-precision clojure-core-ns)
|
'-with-precision (sci/copy-var -with-precision clojure-core-ns)
|
||||||
;; STM
|
;; STM
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue