1. 13 Feb, 2001 5 commits
  2. 12 Feb, 2001 19 commits
  3. 11 Feb, 2001 10 commits
    • simonmar's avatar
      [project @ 2001-02-11 17:51:07 by simonmar] · 6d35596c
      simonmar authored
      Bite the bullet and make GHCi support non-optional in the RTS.  GHC
      4.11 should be able to build GHCi without any additional tweaks now.
      
      - the Linker is split into two parts: LinkerBasic.c, containing the
        routines required by the rest of the RTS, and Linker.c, containing
        the linker proper, which is not referred to from the rest of the RTS.
        Only Linker.c requires -ldl, so programs which don't make use of the
        linker (everything except GHC, in other words) won't need -ldl.
      6d35596c
    • simonmar's avatar
      [project @ 2001-02-11 17:18:13 by simonmar] · 57d614b4
      simonmar authored
      Remove GhcReportCompiles - it was pretty cool, but got lost somewhere
      on the road to GHCi, and we never really used it anyhow.
      57d614b4
    • simonmar's avatar
      [project @ 2001-02-11 17:14:48 by simonmar] · 8e82427d
      simonmar authored
      cruftbuster
      8e82427d
    • simonmar's avatar
      [project @ 2001-02-11 17:12:35 by simonmar] · 204f95bb
      simonmar authored
      - remove flag settings for modules which don't exist
      - remove all heap-size settings less than 16m, and set the default to 16m.
      - remove pre-ghc-4.08 compatibility cruft; the compiler requires 4.08 now.
      204f95bb
    • simonmar's avatar
      [project @ 2001-02-11 17:01:46 by simonmar] · 76c7c599
      simonmar authored
      Remove some duplicate Makefile gunk, and collect the symbolic link
      code together in mk/target.mk.
      76c7c599
    • simonmar's avatar
      [project @ 2001-02-11 16:48:21 by simonmar] · d9d751a6
      simonmar authored
      clean up a little
      d9d751a6
    • simonmar's avatar
      [project @ 2001-02-11 16:32:48 by simonmar] · df8e2ee0
      simonmar authored
      Create ghci-$(ProjectVersion) and ghci-inplace mini-scripts, and a
      ghci->ghci-$(ProjectVersion) link.
      
      I put these in here rather than ghc/compiler, because ghc/compiler
      already has a ghci subdirectory.
      df8e2ee0
    • simonmar's avatar
      [project @ 2001-02-11 14:33:27 by simonmar] · 3be030c2
      simonmar authored
      Experimental implementation of a bizarre, and probably not well
      thought out, idea I had last week: making GHCi extensible, in Haskell.
      
      Two new commands:
      
      	:def <name> <expr>
      	:undef <name>
      
      :def defines a new command, :<name>, with the semantics that
      
      	(<expr> :: String -> IO String)
      
      is run, passed the argument to :<name>, and the resulting string is
      fed back through GHCi's command-line interpreter (\n may be used to
      separate commands in the returned string).  <expr> is compiled once,
      when the :def command is entered.
      
      Simple example:
      
      Prelude> :def date (\s -> Time.getClockTime >>= print >> return "")
      Prelude> :date
      Sun Feb 11 13:44:28 GMT 2001
      Prelude>
      
      Implementing built-in GHCi commands with macros:
      
      Prelude> :def mycd (\s -> Directory.setCurrentDirectory s >> return "")
      Prelude> :mycd /home/simonm
      Prelude> :!ls
      ...
      
      Define new functions from the command-line:
      
      Prelude> :! echo "module Tmp where" >/tmp/Tmp.hs
      Prelude> :def let (\s -> return (":! echo " ++ s ++ ">> /tmp/Tmp.hs\n:load /tmp/Tmp.hs"))
      Prelude> :let x = 42
      Compiling Tmp ... compilation IS required
      Ok, modules loaded: Tmp.
      Tmp> x
      42
      Tmp> :let y = x
      Compiling Tmp ... compilation IS required
      Ok, modules loaded: Tmp.
      Tmp> y
      42
      Tmp>
      
      I'm sure the possibilities are endless...
      3be030c2
    • simonmar's avatar
      [project @ 2001-02-11 13:13:37 by simonmar] · cb13cd97
      simonmar authored
      Replace some OS-specific ifdefs which should really be ARCH-specific.
      Fixes FreeBSD support.
      cb13cd97
    • qrczak's avatar
      [project @ 2001-02-11 09:36:00 by qrczak] · ff7ae2db
      qrczak authored
      Reverse the 'default' list.
      ff7ae2db
  4. 10 Feb, 2001 1 commit
    • qrczak's avatar
      [project @ 2001-02-10 10:43:25 by qrczak] · 4776e55d
      qrczak authored
      Move kludgedSystem (renamed to system) to a separate module.
      This avoids ugly interactions with the C preprocessor (string gaps,
      __GLASGOW_HASKELL__ in strings).
      4776e55d
  5. 09 Feb, 2001 5 commits