Interpreter in PostScript
Evaluate a mini-language for fractal conjuration and custom geometric spells.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Interpreter
ARCANUM SCHOOL: Divination // Script Parsing
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// CODEX INCANTATION //
% Interpreter in PostScript
/InterpretLSystem {
dup (F) eq { (Drawing Line Forward...\n) print } if
dup (+) eq { (Rotating Matrix Right...\n) print } if
dup (-) eq { (Rotating Matrix Left...\n) print } if
pop
} bind def
[ (F) (+) (F) (-) (F) ] { InterpretLSystem } forall
Interpreter: The L-System Oracle
PostScript itself is a language, but sometimes a higher-level or domain-specific language—like a string of fractal L-System runes—is required. The Interpreter iterates over these compact symbolic tokens and translates them into the raw spatial matrix operations required to physically manifest the fractal.
Runic Tags:
#postscript
#print-daemon
#behavioral
#interpreter