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

Malcolm Wallace malcolm@sparud.net
Thu, 18 Jul 2002 11:28:17 +0200 (CEST)


malcolm: Thu Jul 18 11:28:17 CEST 2002

Update of /usr/src/master/nhc/src/compiler98
In directory hinken:/tmp/cvs-serv24600/compiler98

Modified Files:
	Extra.hs Flags.hs Import.hs PrettySyntax.hs 
Log Message:
Make hat-trans more separate from the compiler.  This is a fairly
large change.

  * There is a new directory src/hat/trans for all the modules that are
    specific to hat-trans and have no purpose in the ordinary compiler,
    e.g. AuxFile.hs, TraceTrans.hs, etc.
  * However, these modules still depend on several parts of the compiler,
    so the new hat-trans Makefile uses the compiler directory as a
   `library' of supporting material.
  * A few small functions needed to be moved around to different modules
    within the compiler, just to reduce the number of dependencies from
    hat-trans.
  * The module Flags.hs now appears in both directories - so each of
    the compiler and hat-trans can now support a different (partially
    overlapping) set of command-line flags.