DSL Compiler Design

This page will later describe compiler stages, intermediate representations, and back-end emission strategies.

Scope

  • Separate front-end, middle-end, and back-end concerns.
  • Plan for diagnostics, lowering, and code generation.
  • Keep the architecture small enough to test early.

Next Steps

  1. Draft the compilation pipeline.
  2. List the IR shapes that fit the language.
  3. Add optimization examples later.