Interpreter of Arcane Dialects
Parse a mini-language for dynamic JCL generation.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Interpreter
ARCANUM SCHOOL: Divination // Linguistics
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// CODEX INCANTATION //
/* ooRexx Interpreter */
::class Expression abstract
::method interpret abstract
::class JobNameExpression subclass Expression
::attribute name
::method init
use arg name
self~name = name
::method interpret
return "//"||self~name||" JOB (ACCT),'DYNAMIC'"
The Interpreter deciphers a higher-level arcane dialect and transcribes it down into the base JCL required by the job entry subsystem.
Runic Tags:
#interpreter
#parsing
#rexx