PURE. The hive-gimp.py forms a PDB call needs: list, describe, run.
Every program here is a vector of Clojure forms built with py/forms;
Clojure values enter only through ~x, as Python literals. How an
argument of a kind reaches the procedure config is set-forms, an open
multimethod: a new kind is a defmethod.
Python names the programs bind all start hg-pdb-, so they cannot collide
with a caller's own state in the shared exec context.
PURE. The hive-gimp.py forms a PDB call needs: list, describe, run. Every program here is a vector of Clojure forms built with `py/forms`; Clojure values enter only through `~x`, as Python literals. How an argument of a kind reaches the procedure config is `set-forms`, an open multimethod: a new kind is a `defmethod`. Python names the programs bind all start `hg-pdb-`, so they cannot collide with a caller's own state in the shared exec context.
(describe-forms procedure)Forms answering ProcedureInfo for procedure procedure, or nil when GIMP
has no such procedure.
Forms answering `ProcedureInfo` for procedure `procedure`, or nil when GIMP has no such procedure.
(procedures-forms match)Forms answering the sorted PDB procedure names matching regex match
(every procedure when blank).
Forms answering the sorted PDB procedure names matching regex `match` (every procedure when blank).
(run-forms procedure assignments)Forms running procedure with assignments ([arg value] pairs) and
answering a RunAnswer. The procedure runs only when it exists and every
object argument named a live object.
Forms running `procedure` with `assignments` (`[arg value]` pairs) and answering a `RunAnswer`. The procedure runs only when it exists and every object argument named a live object.
Statements setting value for arg on hg-pdb-config. Object kinds look
their object up by id and record the arg name in hg-pdb-missing when the
id names no live object, instead of handing GIMP a null.
Statements setting `value` for `arg` on `hg-pdb-config`. Object kinds look their object up by id and record the arg name in `hg-pdb-missing` when the id names no live object, instead of handing GIMP a null.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |