Skip to main content

PLI Spells

Browsing 23 incantations written in pli.

PLI Adept
Transmutation
GoF Lineage: Bridge

The Bridge

Decouple an abstraction from its implementation so that the two can vary independently on the mainframe.

#bridge #pointer #implementation
Read Full Scroll →
PLI Adept
Enchantment
GoF Lineage: Command

The Command

Encapsulate a request as an object, thereby letting you parameterize clients with different requests.

#command #batch #encapsulation
Read Full Scroll →
PLI Archmage
Divination
GoF Lineage: Interpreter

The Interpreter

Given a language, define a representation for its grammar along with an interpreter that uses the representation to interpret sentences.

#interpreter #grammar #parsing
Read Full Scroll →
PLI Apprentice
Divination
GoF Lineage: Iterator

The Iterator

Provide a way to access the elements of an aggregate mainframe structure sequentially without exposing its underlying representation.

#iterator #sequential #tape
Read Full Scroll →
PLI Adept
Chronomancy
GoF Lineage: Memento

The Memento

Without violating encapsulation, capture and externalize a mainframe's internal state so that it can be restored later.

#memento #core-dump #state
Read Full Scroll →
PLI Adept
Divination
GoF Lineage: Observer

The Observer

Define a one-to-many dependency between objects so that when one changes state, all its dependents are notified and updated automatically.

#observer #event #notify
Read Full Scroll →
PLI Apprentice
Abjuration
GoF Lineage: Proxy

The Proxy

Provide a surrogate or placeholder for another PL/I module to control access to it.

#proxy #placeholder #control
Read Full Scroll →
PLI Archmage
Divination
GoF Lineage: Visitor

The Visitor

Represent an operation to be performed on the elements of an object structure without changing the classes of the elements on which it operates.

#visitor #traversal #operation
Read Full Scroll →