[cvs-nhc98] patch applied (hat): Added combinators and transformation for portable untraced code.

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Tue Oct 10 07:11:00 EDT 2006


Wed Nov 21 08:11:45 PST 2001  olaf
  * Added combinators and transformation for portable untraced code.
  These new parts have not yet been tested at all and combinators are not yet complete. However, everything compiles and the transformation for traced code still seems to work, although some of its combinators have also been changed (made less strict in trace).
  
  Also corrected some small bugs:
  
  putStr now produces output on a per character basis.
  
  pattern bound variables, including cafs, are now considered lambda-bound and their definition is transformed differently from let-bound vars.
  Still need to transform type declarations accordingly!!!
  
  Integers up to 32 bit are now written in network byteorder to the trace.
  
  Integer and Fractional literals are now handled correctly by the transformation, using two new combinators.

    M ./src/compiler98/MainNew.hs -1 +2
    M ./src/compiler98/TraceTrans.hs -148 +178
    M ./src/hatlib/Hat.hs -166 +315
    M ./src/hatlib/TPrelude.hs -24 +43
    M ./src/hatlib/hat-c.c -1 +3
    M ./src/hattrans/TraceTrans.hs -148 +178


More information about the Cvs-nhc98 mailing list