[cvs-nhc98] patch applied (hat): Complete library src/prelude/Hat for portable Hat.

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Tue Oct 10 07:09:20 EDT 2006


Wed Oct 17 10:34:30 PDT 2001  olaf
  * Complete library src/prelude/Hat for portable Hat.
  
  The library now contains a minimal prelude wrapper.
  There is a Makefile which works, but produces many warnings.
  
  The compiler option -hx has been replaced by -hat.
  Envoking it transforms a module `Name' into a tracing module `TName'.
  If the module is `Main' the name is unchanged and a special function
  definition of `main' is added (the filename is still prefixed by `T').
  
  The transformation works for an extended hello world program.
  For some reason (packString not always working?) the module name `Main' is followed by many bytes of rubish before the final \0 in the trace file.
  hat-trail works fine with the trace.
  hat-detect shows some strange reductions and hat-observe doesn't show reductions of all identifiers. This is with the v1.08 tools, because the transformation doesn't yet produce any toplevel identifiers (all are in old format and hence local).
  
  Changed some includes of hat.h to art.h (forgotten last time).

    M ./src/compiler98/Flags.hs -5 +10
    M ./src/compiler98/Main.hs -18 +16
    M ./src/compiler98/MainNew.hs -12 +11
    M ./src/compiler98/OsOnly.hs -2 +16
    M ./src/compiler98/TraceTrans.hs -26 +89
    M ./src/hatlib/Hat.hs -7 +8
    A ./src/hatlib/Makefile
    A ./src/hatlib/Makefile.inc
    A ./src/hatlib/TPrelude.hs
    M ./src/hatlib/hat-c.c -4 +4
    M ./src/hattools/nodecache.c -1 +1
    M ./src/hattrans/Flags.hs -5 +10
    M ./src/hattrans/TraceTrans.hs -26 +89
    M ./src/old/runtime/fileformat.h -1 +1
    M ./src/old/runtime/ident.h -1 +1


More information about the Cvs-nhc98 mailing list