# Multi-Pass Processing
**Domain:** Compilers / Document Transformation
**Doc Type:** Canonical Concept Node
**Maturity:** Artifact-Derived
**Related:** [[wiki/Executable Markdown|Executable Markdown]], [[wiki/Intermediate Representation|Intermediate Representation]], [[wiki/Named Target|Named Target]]
---
## Definition
**Multi-pass processing transforms a document or program in ordered stages so later operations can consume structures or values created earlier.** Each pass should have a defined input, output, effect boundary, and termination rule.
## XDO Context
The recovered engine contains opening and subsequent passes over programs, command sets, variables, buffers, and document content. A modern design should make those phases explicit rather than relying on incidental repeated parsing.
## Key Insight
**Multiple passes are architectural when each stage reduces ambiguity or makes a new class of operation safe.**
## See Also
[[wiki/Deterministic Transformation|Deterministic Transformation]], [[wiki/Dynamic Dispatch|Dynamic Dispatch]], [[wiki/Domain-Specific Language|Domain-Specific Language]], [[wiki/Technical Terms|Technical Terms]]