seperate TGrammar from TParser
modify Parser using TGrammar