fix Parser signature
update Parser state machine with new typing