[cvs-nhc98] Create library src/prelude/Hat for portable Hat.

User olaf olaf@sparud.net
Mon, 15 Oct 2001 18:37:14 +0200 (CEST)


olaf: Mon Oct 15 18:37:14 CEST 2001

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

Modified Files:
	PrettySyntax.hs Syntax.hs TraceTrans.hs 
Log Message:
Create library src/prelude/Hat for portable Hat.

Hat.hs contains all the combinators used in transformed code and
initialisiation etc for tracing.
Hat.c/h contains the C-implementations.
MagicTypes.hi is a hack to enable C-types to live in nhc's heap.
Note that the current version still depends in several ways on nhc, but the library should work with a normally compiled transformed Haskell program.
The library has not been tested yet.
Code is mostly copied (and modified) from PreludeDebug, HatArchive and trace/runtime.

include/hat.h was renamed to include/art.h