1. 21 Nov, 2000 11 commits
  2. 20 Nov, 2000 18 commits
  3. 19 Nov, 2000 3 commits
  4. 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
  5. 16 Nov, 2000 3 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