The parser is now invariant

Parser is only parser(Grammar, Tables)
and State is handled seperately