9.3
Foreman
Public module: foreman
Foreman is a production rule system: a program is a set of rules whose left-hand sides are declarative patterns over working memory and whose right-hand sides are ordinary Racket procedures. The engine cycles — match everything, fire one, repeat — and stops when nothing matches. You describe what is true and what to do about it; the engine owns the control flow.