Refined and separate TGG interpreter