A compiler turns human-readable source code into machine code through a fixed sequence of phases: lexical analysis breaks the text into tokens, syntax analysis (parsing) checks those tokens against the language's grammar, semantic analysis verifies the program makes logical sense, optimization rewrites the intermediate representation to remove wasted work, and code generation emits the final machine instructions. This simulator visualizes that pipeline directly in 3D — colored blocks representing keyword, identifier, operator and literal tokens travel down a five-stage assembly line, with a configurable share of redundant tokens vanishing at the optimizer gate to show dead-code elimination in action. Adjust compilation speed, code complexity and optimization level to see how they change pipeline throughput and how much work the optimizer strips out before code generation.