1. 09 Mar, 2000 3 commits
    • andy's avatar
      [project @ 2000-03-09 06:14:38 by andy] · 7bc3ecec
      andy authored
      improving the synatax and semantics of the privileged import
       Typical use might be:
        import Prelude
        import privileged Prelude ( IORef , unsafePerformIO )
       Which means please ignore the export that comes with Prelude,
       and let me at compiler internal magic operations, IORef and
       unsafePerformIO (both are later exported by IOExt)
      I've also updated the stdlib files to use this (hugs only :-).
    • andy's avatar
      [project @ 2000-03-09 05:59:48 by andy] · 075e0c07
      andy authored
      Changing use literate programming, to allow hugs to compile this program.
    • andy's avatar
      [project @ 2000-03-09 02:47:13 by andy] · ca8c3818
      andy authored
      Changing name of linkPreludeNames to linkPrimitiveNames (cause that
      is what it does).
      Adding a Hugs extension "import privileged". This will allow us
      to remove the many exports from the prelude of the primitive functions
      and types, but still allow us to write libraries that use it.
  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.
    • 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
    • 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
    • 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
    • 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.
    • simonmar's avatar
      [project @ 2000-03-08 15:58:30 by simonmar] · 54e6a4e1
      simonmar authored
      okToUnfoldInHiFile: look at args of a Con for litlits.
    • sewardj's avatar
      [project @ 2000-03-08 11:20:53 by sewardj] · b9cf3094
      sewardj authored
      Define EXTERN_SYMS_linux for Linux.
    • 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
      While I'm here, pull in some of the comments from the old pre-4.00 RTS
      and add some new comments.
  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.
    • simonmar's avatar
      [project @ 2000-03-06 12:02:37 by simonmar] · 7f8f7919
      simonmar authored
      Add extra-closing-brace test.
    • 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.
    • 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'.
    • 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.
    • 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.
    • andy's avatar
      [project @ 2000-03-06 08:01:01 by andy] · 03920884
      andy authored
      Removing debugging printf code from hClose.
  5. 03 Mar, 2000 2 commits
  6. 02 Mar, 2000 8 commits
  7. 01 Mar, 2000 4 commits
    • keithw's avatar
      [project @ 2000-03-01 18:38:45 by keithw] · fcbd96e3
      keithw authored
      Display (overall) averages for per-module statistics as well as for
      per-program statistics.
      Also, with `-d' (default; `-n' to turn off) compute geometric standard
      deviations and display +/- 1 s.d. points as well as average.  Note that
      since these are *geometric*, the lower point will appear closer to the
      average than the upper.  This is correct behaviour.
    • lewie's avatar
      [project @ 2000-03-01 18:10:43 by lewie] · a61b7e6e
      lewie authored
      Filled in some missing support for importing defs w/ implicit params.
      Fixed bug in improvement w/ implicit params.
    • sewardj's avatar
      [project @ 2000-03-01 16:57:57 by sewardj] · c4574ceb
      sewardj authored
      forceIO_ret_entry, when #ifndef REG_R1: remember to load Node.
    • panne's avatar
      [project @ 2000-03-01 15:20:54 by panne] · 0db5d781
      panne authored
      Because of the previous HaXml-"improvement" :-}, syslib text now
      depends on syslib data.