sci: default-reader-fn
This commit is contained in:
parent
e360a8666a
commit
8ae4fc5128
3 changed files with 4 additions and 3 deletions
2
sci
2
sci
|
|
@ -1 +1 @@
|
|||
Subproject commit 78818bf63c2f9eb0d916a02be5607f434ac5ea22
|
||||
Subproject commit 4d72c48bbffb9284a97e4b91221b3d56f3ae7b24
|
||||
|
|
@ -8,6 +8,7 @@
|
|||
[clojure.string :as str]
|
||||
[sci.core :as sci]
|
||||
[sci.impl.namespaces :refer [copy-core-var core-var macrofy]]
|
||||
[sci.impl.parser :as parser]
|
||||
[sci.impl.vars :as vars :refer [clojure-core-ns]]))
|
||||
|
||||
(defn locking* [form bindings v f & args]
|
||||
|
|
@ -26,7 +27,7 @@
|
|||
([sym] (core-dynamic-var sym nil))
|
||||
([sym init-val] (sci/new-dynamic-var sym init-val {:ns clojure-core-ns})))
|
||||
|
||||
(def data-readers (core-dynamic-var '*data-readers* {}))
|
||||
(def data-readers parser/data-readers)
|
||||
(def command-line-args (core-dynamic-var '*command-line-args*))
|
||||
(def warn-on-reflection (core-dynamic-var '*warn-on-reflection* false))
|
||||
(def math-context (core-dynamic-var '*math-context*))
|
||||
|
|
|
|||
|
|
@ -739,7 +739,7 @@ Use bb run --help to show this help output.
|
|||
:imports classes/imports
|
||||
:load-fn load-fn
|
||||
:uberscript uberscript
|
||||
:readers core/data-readers
|
||||
;; :readers core/data-readers
|
||||
:reify-fn reify-fn
|
||||
:proxy-fn proxy-fn}
|
||||
opts (addons/future opts)
|
||||
|
|
|
|||
Loading…
Reference in a new issue