L4YAML

2. Architecture🔗

L4YAML implements a two-pass pipeline that mirrors the layered structure of the YAML 1.2.2 specification itself. Input bytes flow through a character-level scanner, producing a typed token stream, which a recursive-descent parser converts into a structured AST.

  1. 2.1. Scanner (Lexical Layer)
  2. 2.2. Token Parser (Syntactic Layer)
  3. 2.3. Type System
  4. 2.4. Module Organization
  5. 2.5. Import Graph