interpreter-one-class-per-grammar-rule

Status: IN

In the Interpreter pattern, each rule in the grammar maps to a class: terminal symbols become TerminalExpression classes and nonterminal symbols become NonterminalExpression classes with instance variables for the right-hand-side symbols.

Source: entries/2026/06/17/gof-oo-chunk-16.md

Depended on by

JSON