Liking cljdoc? Tell your friends :D

fif.core


*default-stack*clj/s

Default Stack Machine, containing all of the standard libraries. Can be used with with-stack in order to rebind for eval, seval and reval

Default Stack Machine, containing all of the standard
libraries. Can be used with `with-stack` in order to rebind for
`eval`, `seval` and `reval`
sourceraw docstring

dbg-evalclj/s≠macro

clj
(dbg-eval opts & body)
cljs
(dbg-eval &form &env opts & body)

Debugging tool. By default enables the step inhibitor.

Debugging tool. By default enables the step inhibitor.
source (clj)source (cljs)raw docstring

evalclj/s≠macro

clj
(eval & body)
cljs
(eval &form &env & body)

Evaluate the values provided in body within the fif stackmachine, and returns the stackmachine

Evaluate the values provided in `body` within the fif
stackmachine, and returns the stackmachine
source (clj)source (cljs)raw docstring

eval-fileclj

(eval-file fpath)

Evaluates the given file as a fif script. Returns the stack-machine after evaluation.

Evaluates the given file as a fif script. Returns the stack-machine
after evaluation.
sourceraw docstring

eval-fnclj/s

(eval-fn args)

Evaluate the sequence of args within the fif stackmachine, and return the stackmachine as a result.

Evaluate the sequence of args within the fif stackmachine, and return
the stackmachine as a result.
sourceraw docstring

eval-stringclj/s

(eval-string s)

Safeily evaluates the given string as a stream of EDN values within the fif stackmachine, and returns the stackmachine after evaluation.

Safeily evaluates the given string as a stream of EDN values within
the fif stackmachine, and returns the stackmachine after evaluation.
sourceraw docstring

get-stackclj/s

source

ievalclj/s≠macro

clj
(ieval sm & body)
cljs
(ieval &form &env sm & body)

Evaluate body forms within the provided stack-machine, sm. Returns the stack-machine after evaluation.

Evaluate `body` forms within the provided stack-machine,
`sm`. Returns the stack-machine after evaluation.
source (clj)source (cljs)raw docstring

ieval-fnclj/s

(ieval-fn sm args)
source

prepl-evalclj/s

Programmable Repl Evaluation Function, for creating a full-fledged prepl. Documentation can be found in fif.impl.prepl/prepl-eval.

Programmable Repl Evaluation Function, for creating a full-fledged
prepl. Documentation can be found in fif.impl.prepl/prepl-eval.
sourceraw docstring

replclj/s

(repl)
(repl sm)

Command-line Repl for either the default-stack, or a provided stack-machine.

Command-line Repl for either the *default-stack*, or a provided
stack-machine.
sourceraw docstring

revalclj/s≠macro

clj
(reval & body)
cljs
(reval &form &env & body)

Evaluate the values provided in body within the fif stackmachine, and return the main stack as a result.

Evaluate the values provided in `body` within the fif stackmachine,
and return the main stack as a result.
source (clj)source (cljs)raw docstring

reval-fileclj

(reval-file fpath)

Evaluates the given file as a fif script. Returns the main stack in a more pleasing orientation.

Evaluates the given file as a fif script. Returns the main stack in a
more pleasing orientation.
sourceraw docstring

reval-stringclj/s

(reval-string s)

Evaluates the given string as a stream of EDN values within the fif stackmachine, and returns the main stack in a more pleasing orientation.

Evaluates the given string as a stream of EDN values within the fif
stackmachine, and returns the main stack in a more pleasing
orientation.
sourceraw docstring

sevalclj/s≠macro

clj
(seval & body)
cljs
(seval &form &env & body)

Evaluate the values provided in body, and return the main stack after completion.

Notes:

  • You will likely want to use fif.core/reval, since it returns the main stack in a more pleasing orientation.
Evaluate the values provided in `body`, and return the main stack
after completion.

Notes:

- You will likely want to use fif.core/reval, since it returns the
main stack in a more pleasing orientation.
source (clj)source (cljs)raw docstring

with-stackclj/s≠macro

clj
(with-stack sm & body)
cljs
(with-stack &form &env sm & body)

Used to rebind the *default-stack* for use with eval, seval and reval

Used to rebind the `*default-stack*` for use with `eval`, `seval` and
`reval`
source (clj)source (cljs)raw docstring

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

× close