Pregunta de entrevista de Citadel

How does the state machine work on the compiler side?