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
- Draft the compilation pipeline.
- List the IR shapes that fit the language.
- Add optimization examples later.