Using tuples instead of nested dicts for the ACTION and GOTO tables