Sci issue 774 interpreter stacktrace (#1318)
This commit is contained in:
parent
22763c6485
commit
e20ba643ff
3 changed files with 19 additions and 3 deletions
|
|
@ -141,7 +141,13 @@
|
||||||
org.clojure/math.numeric-tower {:git/tag "math.numeric-tower-0.0.5", :git/sha "12eb9c5", :git/url "https://github.com/clojure/math.numeric-tower"}
|
org.clojure/math.numeric-tower {:git/tag "math.numeric-tower-0.0.5", :git/sha "12eb9c5", :git/url "https://github.com/clojure/math.numeric-tower"}
|
||||||
prismatic/schema {:git/url "https://github.com/plumatic/schema"
|
prismatic/schema {:git/url "https://github.com/plumatic/schema"
|
||||||
:git/sha "6846dc7c3a9df5bfd718f68f183c683ce0f621ff"
|
:git/sha "6846dc7c3a9df5bfd718f68f183c683ce0f621ff"
|
||||||
:git/tag "schema-1.3.0"}}
|
:git/tag "schema-1.3.0"}
|
||||||
|
metosin/malli {:git/url "https://github.com/metosin/malli"
|
||||||
|
:git/sha "588147ef49b2e41c7d12a8aa994b39c1c6fedd99"
|
||||||
|
:git/tag "0.8.9"}
|
||||||
|
meander/epsilon {:git/url "https://github.com/noprompt/meander"
|
||||||
|
:git/sha "55f5ce70e6ef717e95c58260f6bc725d70c0cb6d"}
|
||||||
|
}
|
||||||
:classpath-overrides {org.clojure/clojure nil
|
:classpath-overrides {org.clojure/clojure nil
|
||||||
org.clojure/spec.alpha nil}}
|
org.clojure/spec.alpha nil}}
|
||||||
:clj-nvd
|
:clj-nvd
|
||||||
|
|
|
||||||
2
sci
2
sci
|
|
@ -1 +1 @@
|
||||||
Subproject commit 1d2b26d4f6e014615d4cfe1d20ab4bfcf90d86b8
|
Subproject commit c16deb95df7764d706f5815b3e7f1323e289c94a
|
||||||
|
|
@ -346,6 +346,8 @@ Use bb run --help to show this help output.
|
||||||
(defn catvec [& xs]
|
(defn catvec [& xs]
|
||||||
(into [] cat xs))
|
(into [] cat xs))
|
||||||
|
|
||||||
|
(def sci-ns (sci/create-ns 'sci.core))
|
||||||
|
|
||||||
(def namespaces
|
(def namespaces
|
||||||
(cond->
|
(cond->
|
||||||
{'user {'*input* (reify
|
{'user {'*input* (reify
|
||||||
|
|
@ -399,7 +401,15 @@ Use bb run --help to show this help output.
|
||||||
@(resolve 'babashka.impl.rrb-vector/rrb-vector-namespace)
|
@(resolve 'babashka.impl.rrb-vector/rrb-vector-namespace)
|
||||||
{'catvec (sci/copy-var catvec
|
{'catvec (sci/copy-var catvec
|
||||||
(sci/create-ns 'clojure.core.rrb-vector))})
|
(sci/create-ns 'clojure.core.rrb-vector))})
|
||||||
'edamame.core edamame-namespace}
|
'edamame.core edamame-namespace
|
||||||
|
'sci.core {'format-stacktrace (sci/copy-var sci/format-stacktrace sci-ns)
|
||||||
|
'stacktrace (sci/copy-var sci/stacktrace sci-ns)
|
||||||
|
;; 'eval-string (sci/copy-var sci/eval-string sci-ns)
|
||||||
|
;; 'eval-string* (sci/copy-var sci/eval-string* sci-ns)
|
||||||
|
;; 'init (sci/copy-var sci/init sci-ns)
|
||||||
|
;; 'fork (sci/copy-var sci/fork sci-ns)
|
||||||
|
}
|
||||||
|
}
|
||||||
features/xml? (assoc 'clojure.data.xml @(resolve 'babashka.impl.xml/xml-namespace)
|
features/xml? (assoc 'clojure.data.xml @(resolve 'babashka.impl.xml/xml-namespace)
|
||||||
'clojure.data.xml.event @(resolve 'babashka.impl.xml/xml-event-namespace)
|
'clojure.data.xml.event @(resolve 'babashka.impl.xml/xml-event-namespace)
|
||||||
'clojure.data.xml.tree @(resolve 'babashka.impl.xml/xml-tree-namespace))
|
'clojure.data.xml.tree @(resolve 'babashka.impl.xml/xml-tree-namespace))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue