diff --git a/src/babashka/impl/clojure/core.clj b/src/babashka/impl/clojure/core.clj index fa202d41..ff7feaa8 100644 --- a/src/babashka/impl/clojure/core.clj +++ b/src/babashka/impl/clojure/core.clj @@ -34,6 +34,8 @@ (def compile-files (core-dynamic-var '*compile-files* false)) (def unchecked-math (core-dynamic-var '*unchecked-math* false)) (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 "Added for compatibility. Must be used with @@ -173,6 +175,8 @@ '*compile-files* compile-files '*unchecked-math* unchecked-math '*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) ;; STM