What problem does it solve?
Converts MTG Oracle text into a stable, typed representation that the engine can execute, ensuring consistent rule interpretation and easier maintenance.
For developers, this document serves as the authoritative reference for nom-based parsing patterns, priority rules, AST type systems, and contribution checklists that govern how Oracle text is transformed into actionable game state changes.
Core Features & Use Cases
- Centralized reference for nom-based parsing patterns, AST types, and helper modules.
- Detailed guidance on parsing priorities, subject handling, and continuation logic to maintain a single source of truth.
- Use Case: when introducing a new Oracle text pattern or extending the parser, contributors align with the canonical approach documented here.
Quick Start
Consult this reference before implementing new Oracle patterns to ensure consistency with the Nom-based parsing architecture.