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`
(dbg-eval opts & body)
(dbg-eval &form &env opts & body)
Debugging tool. By default enables the step inhibitor.
Debugging tool. By default enables the step inhibitor.
(eval & body)
(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
(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.
(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.
(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.
(ieval sm & body)
(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.
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.
(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.
(reval & body)
(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.
(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.
(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.
(seval & body)
(seval &form &env & body)
Evaluate the values provided in body
, and return the main stack
after completion.
Notes:
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.
(with-stack sm & body)
(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`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close