[cvs-nhc98] Make hat-trans more separate from the compiler. This is a