(add-top-code state key added-code)
Add code that should be statically evaluated before the block being compiled.
Add code that should be statically evaluated before the block being compiled.
(basic-nil? x)
Test if a geex expression is nil.
Test if a geex expression is nil.
(bind-name datatype binding-name)
Bind a name to some variable.
Bind a name to some variable.
(dont-list! x)
Indicate that a seed should not be bound.
Indicate that a seed should not be bound.
(eval-body-fn init-state body-fn)
Introduce a current state from init-state, evaluate body-fn and then post-process the resulting state.
Introduce a current state from init-state, evaluate body-fn and then post-process the resulting state.
(flat-seeds-traverse pred-fn expr f)
Returns a vector with first element being a list of all original expr, the second being the expression with mapped seeds
Returns a vector with first element being a list of all original expr, the second being the expression with mapped seeds
(flatten-expr x)
Convert a nested expression to a vector of seeds
Convert a nested expression to a vector of seeds
(full-generate [settings] & code)
Given Geex code, not only generate code but also return the state, the top expr, etc.
Given Geex code, not only generate code but also return the state, the top expr, etc.
(generate-and-eval & code)
Generate code and evaluate it.
Generate code and evaluate it.
(make-clojure-state)
Make a state, for debugging
Make a state, for debugging
(map-expr-seeds f expr)
Apply f to all the seeds of the expression
Apply f to all the seeds of the expression
(nil-of cl)
(nil-of state cl)
Create a Geex nil value of a particular type.
Create a Geex nil value of a particular type.
(populate-seeds dst seeds)
Replace the seeds in dst by the provided list
Replace the seeds in dst by the provided list
(return-value x0)
Geex expression to return a value.
Geex expression to return a value.
(set-local-struct! id data)
Set a local variable holding a composite value.
Set a local variable holding a composite value.
(type-signature x)
Compute an expression that encodes the type of the input expression.
Compute an expression that encodes the type of the input expression.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close