Module
Code Generation
Sign in to add this module to your path and practice.
About
Instruction selection, register allocation (simple: graph coloring lite or greedy/linear scan), emission of assembly or bytecode from IR/AST.
Goal
Generate correct, runnable assembly or bytecode for a subset of the language (expressions, control flow, functions, arrays/structs basics) from IR.
Unlocks
Tutor
Ask questions about this module.
Hi — I'm your tutor for Code Generation. Ask about the concepts, goal, or where you're stuck.