Regroup grammars from Tegis and Cegis under one roof
Only print grammar if debug