Skip to content

Compiler Pipeline.md

Dark Meta edited this page Aug 18, 2025 · 1 revision

Compiler Pipeline

  1. Lexer — Unicode‑aware, NFC‑normalized stream with:
    • Line and block ⦅ ... ⦆ comments
    • AI‑only blocks ⚡ ... ⛓ (authorization gates)
    • Numeric glyphs 𝍠…𝍩 (0‑9) and ASCII numerals
  2. Parser — Builds AST from tokens
  3. Semantics — Type checks and validates constructs
  4. IR / Lowering — Produces a portable intermediate form
  5. Emitters--emit js or --emit ai
  6. Titan — Execution/runtime surface for future native backends

See detailed pages: Lexer, Parser, Semantics, IR & Lowering, Code Generation, AI Emitter, Titan VM.

Clone this wiki locally