diff --git a/project.clj b/project.clj index 07cdfa04..683045c8 100644 --- a/project.clj +++ b/project.clj @@ -12,6 +12,7 @@ :dependencies [[org.clojure/clojure "1.10.1"] [org.clojure/tools.reader "1.3.2"] [borkdude/edamame "0.0.10-alpha.2"] + [borkdude/graal.locking "0.0.2"] [org.clojure/core.async "0.4.500"] [org.clojure/tools.cli "0.4.2"] [org.clojure/data.csv "0.1.4"] diff --git a/sci b/sci index 6535d143..a6286ce3 160000 --- a/sci +++ b/sci @@ -1 +1 @@ -Subproject commit 6535d1437470dad90751278f17c262c3e9198c81 +Subproject commit a6286ce315452137057d40c1cdc127091a6429a3 diff --git a/src/babashka/main.clj b/src/babashka/main.clj index 30b86abe..a1318f4c 100644 --- a/src/babashka/main.clj +++ b/src/babashka/main.clj @@ -25,9 +25,9 @@ [sci.impl.interpreter :refer [eval-string*]]) (:gen-class)) -(sci.impl.vars/bindRoot sci/in *in*) -(sci.impl.vars/bindRoot sci/out *out*) -(sci.impl.vars/bindRoot sci/err *err*) +(sci/alter-var-root sci/in (constantly *in*)) +(sci/alter-var-root sci/out (constantly *out*)) +(sci/alter-var-root sci/err (constantly *err*)) (set! *warn-on-reflection* true) ;; To detect problems when generating the image, run: