Liking cljdoc? Tell your friends :D

hive-gimp.py.result

The eval protocol: a module whose last value GIMP prints as JSON after a sentinel, and the reading of that stdout back into Clojure data.

wrap speaks AST (lowered statements in, a module out); parse speaks text (stdout in, EvalResult out). Neither touches a transport.

The eval protocol: a module whose last value GIMP prints as JSON after a
sentinel, and the reading of that stdout back into Clojure data.

`wrap` speaks AST (lowered statements in, a module out); `parse` speaks
text (stdout in, `EvalResult` out). Neither touches a transport.
raw docstring

EvalResultclj

What an eval's stdout reads as: the value, and everything else printed.

What an eval's stdout reads as: the value, and everything else printed.
sourceraw docstring

parseclj

(parse stdout)

stdout as an EvalResult: the last sentinel line's JSON as :data (keyword keys), every other line as :stdout.

`stdout` as an `EvalResult`: the last sentinel line's JSON as `:data`
(keyword keys), every other line as `:stdout`.
sourceraw docstring

sentinelclj

The prefix of the one stdout line that carries the value.

The prefix of the one stdout line that carries the value.
sourceraw docstring

wrapclj

(wrap lead value)

The module an eval sends: the prelude, the lead statements, value (an expression node, or nil for None) bound to the result, then printed.

The module an eval sends: the prelude, the `lead` statements, `value`
(an expression node, or nil for None) bound to the result, then printed.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close