Citadel interview question

How does the state machine work on the compiler side?