1. 09 Mar, 2000 11 commits
  2. 08 Mar, 2000 8 commits
    • andy's avatar
      [project @ 2000-03-08 23:55:00 by andy] · d060f70a
      andy authored
      A Prelude where IO is an abstract type, not a synonm.
      
      Previously, IO type errors were getting explained in terms of ST RealWorld.
      d060f70a
    • andy's avatar
      [project @ 2000-03-08 22:05:43 by andy] · 8d264683
      andy authored
      Adding version of Makefile that looks in the new location for Prelude.hs
      8d264683
    • andy's avatar
      [project @ 2000-03-08 21:45:03 by andy] · 6d8af978
      andy authored
      Adding the latest version of the makefile
      Removing Prelude.hs from the lib dir
      6d8af978
    • andy's avatar
      [project @ 2000-03-08 21:39:47 by andy] · 11a6ed09
      andy authored
      Moved Prelude.hs for STG Hugs to ghc/lib/hugs/Prelude.hs
      
      This means that everything in the ghc/interpreter/lib directory
      is generated. The new makefile for interpreter/lib will be added
      shortly.
      11a6ed09
    • simonmar's avatar
      [project @ 2000-03-08 17:48:24 by simonmar] · de896403
      simonmar authored
      - generalise the per-module initialisation stubs so that we use it
        in normal (non-profiled) code too.  The initialisation stubs are
        now called '__init_<module>' rather than '_reg<module>'.
      
      - Register foreign exported functions as stable pointers in the
        initialisation code for the module.  This fixes the foreign export
        problems reported by several people.
      
      - remove the concept of "module groups" from the profiling subsystem.
      
      - change the profiling semantics slightly; it should be unnecessary
        to use '-caf-all' to get reasonable profiles now.
      de896403
    • simonmar's avatar
      [project @ 2000-03-08 15:58:30 by simonmar] · 54e6a4e1
      simonmar authored
      okToUnfoldInHiFile: look at args of a Con for litlits.
      54e6a4e1
    • sewardj's avatar
      [project @ 2000-03-08 11:20:53 by sewardj] · b9cf3094
      sewardj authored
      Define EXTERN_SYMS_linux for Linux.
      b9cf3094
    • simonmar's avatar
      [project @ 2000-03-08 10:58:38 by simonmar] · 1d816bae
      simonmar authored
      Attempt to fix the Sparc version of StgRun.  Since
      RESERVED_STACK_SPACE increased beyond the size of a 13-bit immediate,
      the Sparc code has been broken.
      
      We try to fix this with some imaginative gcc inline assembly
      constraints.  If this breaks again, I'll try recoding it directly in
      assembler.
      
      While I'm here, pull in some of the comments from the old pre-4.00 RTS
      and add some new comments.
      1d816bae
  3. 07 Mar, 2000 8 commits
  4. 06 Mar, 2000 7 commits
    • andy's avatar
      [project @ 2000-03-06 23:07:09 by andy] · 5e2c358f
      andy authored
      Adding latest version of STG Hugs libs makefile.
      5e2c358f
    • simonmar's avatar
      [project @ 2000-03-06 12:02:37 by simonmar] · 7f8f7919
      simonmar authored
      Add extra-closing-brace test.
      7f8f7919
    • simonmar's avatar
      [project @ 2000-03-06 11:58:27 by simonmar] · 656b963d
      simonmar authored
      Turn the panic in Lex.popContext into a parse error.
      656b963d
    • sewardj's avatar
      [project @ 2000-03-06 10:12:57 by sewardj] · 2add9208
      sewardj authored
      typeInstDefn(), the bit which invents GHC compatible instance names:
      handle multiparam type classes.  This enables Hugs standalone to deal
      multiparam type classes, but there's a fudge:
      
         class Foo s m where { }
         instance Foo s () where { }
      
      GHC calls the instance $fFoos.  But Hugs records type vars as offsets,
      and loses the name "s" in the instance head; all it knows about
      are tyvar numbers (offsets), starting from zero.  So it can never
      generate $fFoos here, only $fFoo0 (zero).  The resulting code works
      in standalone mode but will not interwork with GHC.  In general tho,
      multiparam type classes are not (yet) supported in combined mode;
      interface.c certainly can't handle them.
      
      It might be simplest in this case to change GHC's instance naming
      defn to be the same as Hugs'.
      2add9208
    • andy's avatar
      [project @ 2000-03-06 08:42:56 by andy] · a2f35a46
      andy authored
      Adding prelude changes require for the new libs, include IOExts.
      Reintroducing ptr equality into HugsSTG.
      a2f35a46
    • andy's avatar
      [project @ 2000-03-06 08:38:04 by andy] · 8e01a719
      andy authored
      Adding the Feb00 changed from Classic Hugs into STG Hugs.
      8e01a719
    • andy's avatar
      [project @ 2000-03-06 08:01:01 by andy] · 03920884
      andy authored
      Removing debugging printf code from hClose.
      03920884
  5. 03 Mar, 2000 2 commits
  6. 02 Mar, 2000 4 commits