Initial state machine parser