Recompile grammar class.