Api providing tools to facilitate the evaluation of documents using Sci.
Api providing tools to facilitate the evaluation of documents using Sci.
(eval-forms forms)
(eval-forms sci-ctxt forms)
Evaluate a sequence of forms with sci ensuring the the current namespace doesn't change after the evaluation.
Evaluate a sequence of forms with sci ensuring the the current namespace doesn't change after the evaluation.
(eval-forms-in-temp-ns forms)
(eval-forms-in-temp-ns sci-ctxt forms)
Evaluate a sequence of forms with sci in a temporary namespace.
Evaluate a sequence of forms with sci in a temporary namespace.
(fork-sci-ctxt sci-ctxt)
Alias for [[sci.core/fork]]
Alias for [[sci.core/fork]]
(init opts)
Create a sci evaluation context.
Same as [[sci.core/init]] with the sci-opt-features
pre-installed.
Create a sci evaluation context. Same as [[sci.core/init]] with the [[sci-opt-features]] pre-installed.
(sci-ctxt->sci-eval ctxt)
Make an eval function from an sci context.
The result is a function of one argument, a form
to be evaluated by sci in
the evaluation context ctxt
.
Make an eval function from an sci context. The result is a function of one argument, a `form` to be evaluated by sci in the evaluation context `ctxt`.
Sci option map containing values for the :features
key.
Sci option map containing values for the `:features` key.
Sci option map containing values for the :namespaces
key that allows in
the clojurescript case to redefine sci's own 'clojure.core/println
to
cljs.core/println
. Using this map when creating sci contexts in clojure
does nothing.
This map is meant to be deep-merged into the options passed to init
Sci option map containing values for the `:namespaces` key that allows in the clojurescript case to redefine sci's own `'clojure.core/println` to `cljs.core/println`. Using this map when creating sci contexts in clojure does nothing. This map is meant to be deep-merged into the options passed to [[init]]
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close