Liking cljdoc? Tell your friends :D

fr.jeremyschoffen.prose.alpha.eval.sci

Api providing tools to facilitate the evaluation of documents using Sci.

Api providing tools to facilitate the evaluation of documents using Sci.
raw docstring

eval-formsclj/s

(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.
sourceraw docstring

eval-forms-in-temp-nsclj/s

(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.
sourceraw docstring

fork-sci-ctxtclj/s

(fork-sci-ctxt sci-ctxt)

Alias for [[sci.core/fork]]

Alias for [[sci.core/fork]]
sourceraw docstring

initclj/s

(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. 
sourceraw docstring

sci-ctxt->sci-evalclj/s

(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`.
sourceraw docstring

sci-opt-featuresclj/s

Sci option map containing values for the :features key.

Sci option map containing values for the `:features` key.
sourceraw docstring

sci-opt-printlnclj/s

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]]
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close