1. 10 Dec, 1999 4 commits
    • simonmar's avatar
      [project @ 1999-12-10 16:24:50 by simonmar] · b90964e2
      simonmar authored
      bump version to 4.06
    • sewardj's avatar
      [project @ 1999-12-10 15:59:41 by sewardj] · 51c33894
      sewardj authored
      Major improvements in interface processing, and minor supporting
      improvements to CT-storage management.
      * Make the iface parser return the complete interface as a single
        tree, which is processed later.  Added abs syntax tags
        I_INTERFACE .. I_VALUE to support this.
      * Add tagged ("z") 2,3,4,5 tuples.  Because they are tagged, they can't
        be confused with lists, etc.  Selectors zfst, zsnd ... zsel45, zsel55
        check tags first.  Iface processing uses z-tuples wherever it can.
      * Add unap as a safe "inverse" of ap; it checks tags.  So
        unap(TAG1, ap(TAG2,cell)) == cell but only if TAG1==TAG2, else
        assertion failure.
      * In interface.c, clean up the startGHC*/endGHC* functions.
        processInterfaces() is the top-level driver; it makes 4
        passes over the supplied iface trees.
      * Throw away iface symbols not mentioned in export lists.
      * Use iface export lists to construct both the export and
        eval environments for a module.
      * Don't use Texts to refer to things.  Instead use ConId and
        VarId.  Added ConId and VarId as synonyms for Cell in
      * Add findSimpleInstance in storage.c.
    • simonmar's avatar
      [project @ 1999-12-10 15:50:10 by simonmar] · 0491574d
      simonmar authored
      Unbreak finalization.
    • simonpj's avatar
      [project @ 1999-12-10 12:33:12 by simonpj] · 5204750a
      simonpj authored
      I was too enthusiastic about removing empty usage entries
      from interface files.  This commit fixes my errors of yesterday.
  2. 09 Dec, 1999 8 commits
  3. 08 Dec, 1999 7 commits
  4. 07 Dec, 1999 17 commits
    • simonmar's avatar
      [project @ 1999-12-07 15:52:40 by simonmar] · f9716798
      simonmar authored
      Now that $(GHC) refers to an installed haskell compiler, use
      $(GHC_INPLACE) to refer to the ghc in the build tree.
    • simonpj's avatar
      [project @ 1999-12-07 15:50:13 by simonpj] · 4cf0f63b
      simonpj authored
      Remove long-outdated AnalFBWW
    • simonmar's avatar
      [project @ 1999-12-07 15:49:52 by simonmar] · bf33ba3a
      simonmar authored
      Now that $(GHC) means an installed copy of ghc, use $(GHC_INPLACE) to
      refer to the ghc in the build tree.
    • simonpj's avatar
      [project @ 1999-12-07 15:48:02 by simonpj] · 15ce62ca
      simonpj authored
      Add drvrun008
    • simonmar's avatar
      [project @ 1999-12-07 15:43:40 by simonmar] · 747bac96
      simonmar authored
      Automatically detect installed copies of ghc, nhc and hbc and plug
      them into the Makefile variables $(GHC), $(NHC) and $(HBC)
      respectively.  $(HC) is now supposed to be a generic installed haskell
      compiler, which defaults to $(GHC) and can be changed via ./configure
      Reorganise and tidy up a few things in config.mk.in.
    • simonpj's avatar
      [project @ 1999-12-07 15:03:08 by simonpj] · 368eac75
      simonpj authored
      Derived instances should use *source* types not *representation*
      types when doing their deriving stuff.  This bug prevented
      	data F = F !Int deriving (Eq)
      from working when -funbox-strict-fields was on
    • chak's avatar
      [project @ 1999-12-07 14:46:31 by chak] · 6fb805e5
      chak authored
      Package local configuration scripts allow to modularise the configuration (we
      start by having one for ghc):
      * Modularised configuration avoids unnecessary dependencies for individual
      * Furthermore, package local configuration (such as entering version
        information into rpm .spec files) is possible.
    • chak's avatar
      [project @ 1999-12-07 14:38:58 by chak] · 1a9c9949
      chak authored
      Of course, I had to get the name wrong - this has to be mangled by configure
      (eg, to set the version number).
      Also added dependency on gmp-devel (see discussion on glasgow-haskell-bugs).
    • panne's avatar
      [project @ 1999-12-07 13:04:31 by panne] · 60464668
      panne authored
      OK, don't say you haven't been warned: Sven "Larry W." Panne waved his
      Perl-wand and changed a / / into /\s+/. This fixes the problem with
      multiple spaces between {-# OPTIONS ... -#}, but still fails miserably
      when quotes are used, e.g. {-# OPTIONS -#include "My Own Header.h" #-}.
    • chak's avatar
      [project @ 1999-12-07 13:03:25 by chak] · dbce0191
      chak authored
      rpm build specifications in CVS are a first step to building packages
      automatically from CVS (I test this with ghc, but support for the other
      fptools components will follow)
    • sewardj's avatar
      [project @ 1999-12-07 11:55:25 by sewardj] · 7fa1adea
      sewardj authored
      Increase default c-t heap from 300000 to 350000 cells for nofib/real/anna.
    • sewardj's avatar
      [project @ 1999-12-07 11:49:09 by sewardj] · eaf6532a
      sewardj authored
      Add i_ALLOC_CONSTR_big (== i_ALLOC_CONSTR with a 16-bit field
      denoting offset of into table).  The large constant tables in
      nofib/spectral/hartel/nucleic2 need this.
    • sewardj's avatar
      [project @ 1999-12-07 11:36:40 by sewardj] · 95b10333
      sewardj authored
      Correctly detect saturated applications of tuples, following
      recent change to Tuple machinery in Hugs.
    • sewardj's avatar
      [project @ 1999-12-07 11:22:56 by sewardj] · fffe6bca
      sewardj authored
      Remove unused machinery for computing the amount of heap a BCO will
      allocate.  This isn't used because Hugs uses the allocate() mechanism
      rather than allocating by advancing Hp.
    • simonmar's avatar
      [project @ 1999-12-07 11:19:35 by simonmar] · 471e777a
      simonmar authored
      test $(IncludeTestDirsInBuild)
    • simonmar's avatar
      [project @ 1999-12-07 11:16:53 by simonmar] · 54dd8d98
      simonmar authored
    • sewardj's avatar
      [project @ 1999-12-07 11:14:56 by sewardj] · 6478af6d
      sewardj authored
      Don't create a new infotable for every constructor application.
      Amazingly, that's what the codegen.c used to do.  It didn't generate
      vast numbers of redundant infotables until recently, when I changed
      translate.c to generate saturated constructor applications in line.
      Prior to that, there was only ever one application of each constructor,
      so the old scheme was ok.
      Also, fix the assembler so that info table ptrs are commoned up.
      Eg, for [1,2,3], store only one copy of the address of the (:) itbl,
      rather than 3, in the BCO.
  5. 06 Dec, 1999 4 commits
    • lewie's avatar
      [project @ 1999-12-06 22:52:26 by lewie] · e03c0dd3
      lewie authored
      Fixed a FunDep leak in tcSimplifyToDicts (they weren't being filtered out),
      and fixed bug in instance improvement (matching wasn't being done correctly
      for polymorphic instances).
    • sewardj's avatar
      [project @ 1999-12-06 16:47:07 by sewardj] · 0e0bde9e
      sewardj authored
      Remove compile-time address space allocated to tuples, and remove all
      references to TUPMIN.  I think I have fixed the address mapping for
      when TREX is defined, but you never know.
    • sewardj's avatar
      [project @ 1999-12-06 16:25:23 by sewardj] · 39135867
      sewardj authored
      Remove Hugs' special treatment of tuples, and instead have them as
      just another Tycon.  This is to make interworking with GHC simpler.
      Put tuple entries in the Tycon table.  Modify isTycon, isTuple, tupleOf,
      mkTuple and whatIs so that client code doesn't see any difference.
      Add allocTupleTycon to manufacture tuple Tycon entries as startup.
    • sewardj's avatar
      [project @ 1999-12-06 16:20:26 by sewardj] · 7c0ef81a
      sewardj authored
      Only detect (# and #) as special tokens when parsing interface files.