Command in Whitespace
Encapsulating unseen actions as ethereal objects.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Command
ARCANUM SCHOOL: Transmutation // Kinetics
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// CODEX INCANTATION //
The Command of the Bound Action
The Command pattern encapsulates a request as an object. In Whitespace, where objects do not formally exist, we encapsulate the command by pushing a label identifier and its arguments onto the stack or storing them sequentially in the heap.
This creates a deferred action. An invoker routine can later read this structure, pop the arguments, and dynamically jump to the label.
By treating execution flow itself as data to be manipulated, the caster gains immense power. Complex undo/redo systems and macro recordings can be implemented in a language composed entirely of emptiness.
Runic Tags:
#unseen-sigils
#behavioral
#command
#whitespace