1. 20 Nov, 2000 7 commits
  2. 19 Nov, 2000 2 commits
  3. 17 Nov, 2000 5 commits
    • simonmar's avatar
      [project @ 2000-11-17 17:03:17 by simonmar] · 71b3f476
      simonmar authored
      add a few missing cases
      71b3f476
    • simonmar's avatar
      [project @ 2000-11-17 16:53:27 by simonmar] · 459e7bd4
      simonmar authored
      Results of today's hacking:
      
        - We can now execute expressions from the GHCi prompt.  However,
          a problem with the typechecker environment means that identifiers
          from outside the current module aren't resolved :-(
      
        - loading up a multi-module program in the interpreter seems to
          work.  Interpreting is kinda slow (ok, very slow), but I'm hoping
          it'll get better when I compile the interpreter w/ optimisation.
      
        - :set sort of works - you can do ":set -dshow-passes", for example
      
        - lots of bugfixes, etc.
      459e7bd4
    • sewardj's avatar
      [project @ 2000-11-17 13:33:17 by sewardj] · a5f9c20a
      sewardj authored
      Facilitate handling the situation where name of module /= name of file.
      This is handled in CompManager.summarise, which can inspect the source
      to see what the _real_ module name is, and act accordingly.
      All a bit messy -- needs a rethink.
      a5f9c20a
    • sewardj's avatar
      [project @ 2000-11-17 11:59:59 by sewardj] · 22e83441
      sewardj authored
      Filter the HST and HIT passed to compile to only contain the downwards
      closure of the module being compiled.  This means that the instance-env
      construction machinery cannot pick up out-of-scope instances from HST.
      Don't know if it's necessary to filter HIT -- perhaps not.
      
      Instance env construction still doesn't work right, due to duplicates
      being picked up from interface files.
      22e83441
    • sewardj's avatar
      [project @ 2000-11-17 10:13:21 by sewardj] · f5f3b9d9
      sewardj authored
      Make file up-to-dateness checking work in batch mode.
      f5f3b9d9
  4. 16 Nov, 2000 9 commits
    • simonmar's avatar
      [project @ 2000-11-16 16:54:36 by simonmar] · 2bf08ae1
      simonmar authored
      WOOHOO!  GHCi interprets "Hello World":
      
       _____  __   __  ____         _________________________________________________
      (|      ||   || (|  |)        GHC Interactive, version 5.00
      ||  __  ||___|| ||     ()     For Haskell 98.
      ||   |) ||---|| ||     ||     http://www.haskell.org/ghc
      ||   || ||   || ||     (|     Bug reports to: glasgow-haskell-bugs@haskell.org
      (|___|| ||   || (|__|) \\______________________________________________________
      
      Loading package std ... resolving ... done.
      Prelude> :l Main
      cmLoadModule: downsweep begins
      getSummary: Main
      after tsort:
      
      NONREC
         ModSummary { ms_mod = Main, ms_imps = [] ms_srcimps = [] }
      CHECKING OLD IFACE for hs = Just "./Main.hs", hspp = Just "/tmp/ghc25011.hspp"
      COMPILATION IS REQUIRED
      UPSWEEP COMPLETELY SUCCESSFUL
      CmLink.link: linkables are ...
      LinkableM Main [Trees [Main.main = letP stg_cIM = (@PP Native PrelShow.$fShow[] Native PrelShow.$fShowChar)
                                         in
                                         letP stg_cIL = (@IP Native PrelBase.unpackCString# 141613256#)
                                         in
                                         (@PP (@PP Native PrelIO.print stg_cIM) stg_cIL)]]
      Main.main
      CmLink.link: done
      Prelude> Main.main
      Run expression: Main.main
      evalI:
      141613256#
      
      "Hello, world!"
      done.
      2bf08ae1
    • sewardj's avatar
      [project @ 2000-11-16 16:23:03 by sewardj] · 2829e3a6
      sewardj authored
      * Move along the source-changed checkery.
      * Make the driver put object files in the right place when using CM.
      * Don't do hscNoRecomp in one-shot mode.
      2829e3a6
    • simonmar's avatar
      [project @ 2000-11-16 15:57:05 by simonmar] · f212eb91
      simonmar authored
      Moving things around a bit to avoid cycles.
      
      Further progress on interactive linker.
      f212eb91
    • simonpj's avatar
      [project @ 2000-11-16 14:43:05 by simonpj] · 490cba33
      simonpj authored
      Add stuff to support hscExpr
      490cba33
    • simonmar's avatar
      [project @ 2000-11-16 11:39:36 by simonmar] · 292c077d
      simonmar authored
      Current state of the interactive system; can load packages (in theory).
      292c077d
    • simonmar's avatar
      [project @ 2000-11-16 11:34:42 by simonmar] · 8894fd85
      simonmar authored
      Fix the order in which we look for .hi-boot files.
      8894fd85
    • simonmar's avatar
      [project @ 2000-11-16 10:48:22 by simonmar] · 13033b5e
      simonmar authored
      on second thoughts, add this somewhere more sensible
      13033b5e
    • simonmar's avatar
      [project @ 2000-11-16 10:32:30 by simonmar] · 405a1e3b
      simonmar authored
      merge rev. 1.78.2.4 (applyTy bugfix)
      405a1e3b
    • simonmar's avatar
      [project @ 2000-11-16 09:51:31 by simonmar] · f39a8725
      simonmar authored
      merge rev. 1.66.2.6 (add splitMethodTy)
      f39a8725
  5. 15 Nov, 2000 6 commits
    • simonpj's avatar
      [project @ 2000-11-15 17:07:34 by simonpj] · ea659be5
      simonpj authored
      I finally got tired of not having
      	splitTyConApp
      	tyConAppTyCon
      	tyConAppArgs
      
      (Previously we called splitTyConApp_maybe,
       but it's a pain in the neck.)
      ea659be5
    • simonpj's avatar
      [project @ 2000-11-15 17:07:17 by simonpj] · 894a5792
      simonpj authored
      The main thing in this commit is to make sure the desugarer
      looks a the right TyCon when desugaring a record update.
      Again, it's because in GHCI-land, it's possible that the
      some versions of the TyCon won't have the constructors;
      but the one in the FieldLabel will.
      894a5792
    • sewardj's avatar
      [project @ 2000-11-15 15:43:30 by sewardj] · d68df63f
      sewardj authored
      Overhaul of CM, reducing the complexity of recursive module machinery.
      Also, don't compute package dependencies at all, and don't pass them
      to the linker.
      d68df63f
    • simonpj's avatar
      [project @ 2000-11-15 14:37:08 by simonpj] · 8b653a82
      simonpj authored
      The main thing in this commit is to change StgAlts so that
      it carries a TyCon, and not a Type.  Furthermore, the TyCon
      is derived from the alternatives, so it should have its
      constructors etc, even if there's a module loop involved, so that
      some versions of the TyCon don't have the constructors visible.
      
      There's a comment in StgSyn.lhs, with the type decl for StgAlts
      
      
      Also: a start on hscExpr in HscMain.
      8b653a82
    • sewardj's avatar
      [project @ 2000-11-15 10:49:53 by sewardj] · 4631557d
      sewardj authored
      Fix up the Batch vs Interactive plumbing.
      4631557d
    • sewardj's avatar
      [project @ 2000-11-15 09:58:00 by sewardj] · 98bae87d
      sewardj authored
      Fix z-encoding problem in findDependency (moduleNameString ->
      moduleNameUserString).
      98bae87d
  6. 14 Nov, 2000 10 commits
  7. 13 Nov, 2000 1 commit