Skip to main content
  1. Tags/

Parsing

Parsing Oracle text into a typed AST

·1 min

Placeholder. This page validates Mermaid diagram rendering. Replace the body with the real write-up.

The front end turns raw Oracle text into a typed abstract syntax tree:

flowchart LR A[Oracle text] --> B[Lexer] B --> C[Tokens] C --> D[Parser] D --> E[Typed AST]

Each stage gets its own treatment: how the lexer handles reminder text and mana symbols, and how the grammar copes with the long tail of one-off templating while still producing a well-typed tree.