Citadel Interview Question

How does the state machine work on the compiler side?