Liking cljdoc? Tell your friends :D

fifql.core


create-stack-machineclj/s

(create-stack-machine & {:keys [step-max] :or {step-max default-max-step}})

Create a stack machine suitable for fifql.

Create a stack machine suitable for fifql.
sourceraw docstring

default-max-stepclj/s

The default maximum execution step before the stack machine will stop executing the query.

The default maximum execution step before the stack machine will stop
executing the query.
sourceraw docstring

get-varclj/s

(get-var sm sym)

Get the value of the variable from the stack-machine sm defined by the symbol sym. Returns nil if the variable does not exist.

Get the value of the variable from the stack-machine `sm` defined by
the symbol `sym`. Returns nil if the variable does not exist.
sourceraw docstring

set-varclj/s

(set-var sm sym value & {:keys [doc group]})

Set the global word variable with the name sym, with the given value.

Set the global word variable with the name `sym`, with the given
`value`.
sourceraw docstring

set-wordclj/s

(set-word sm sym f & {:keys [doc group]})

Set the global word defintion with the name sym, with the stack function f.

Set the global word defintion with the name `sym`, with the stack
function `f`.
sourceraw docstring

wrap-functionclj/s

(wrap-function arity f)

Wrap function, f with given arity. The function's result is placed on the stack.

Wrap function, `f` with given `arity`. The function's result is
placed on the stack.
sourceraw docstring

wrap-procedureclj/s

(wrap-procedure arity f)

Wrap procedure, f, with given arity. The function's result is not placed on the stack.

Wrap procedure, `f`, with given `arity`. The function's result is
*not* placed on the stack.
sourceraw docstring

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

× close