ghc-hetmet.git
24 years ago[project @ 2000-03-15 15:03:20 by simonmar]
simonmar [Wed, 15 Mar 2000 15:03:20 +0000 (15:03 +0000)]
[project @ 2000-03-15 15:03:20 by simonmar]
Fix configuration/building of GMP.

24 years ago[project @ 2000-03-15 11:15:19 by simonmar]
simonmar [Wed, 15 Mar 2000 11:15:19 +0000 (11:15 +0000)]
[project @ 2000-03-15 11:15:19 by simonmar]
Use the slightly more standard non-standard module ST instead of the
completely non-standard MutableArray.

24 years ago[project @ 2000-03-15 11:11:08 by simonmar]
simonmar [Wed, 15 Mar 2000 11:11:08 +0000 (11:11 +0000)]
[project @ 2000-03-15 11:11:08 by simonmar]
sigh, add some more #ifdefs to this file (MutableArray/STArray changes).

24 years ago[project @ 2000-03-15 10:54:58 by simonmar]
simonmar [Wed, 15 Mar 2000 10:54:58 +0000 (10:54 +0000)]
[project @ 2000-03-15 10:54:58 by simonmar]
Undo part of last my previous commit, which was included accidentally.

24 years ago[project @ 2000-03-15 01:34:52 by andy]
andy [Wed, 15 Mar 2000 01:34:52 +0000 (01:34 +0000)]
[project @ 2000-03-15 01:34:52 by andy]
Adding GHC style Dynamic to the Prelude understanding.

24 years ago[project @ 2000-03-14 14:34:47 by sewardj]
sewardj [Tue, 14 Mar 2000 14:34:47 +0000 (14:34 +0000)]
[project @ 2000-03-14 14:34:47 by sewardj]
Update Hugs so as to work with the new way of referencing Prelude
symbols from the RTS.  The main action is in fixupRTStoPreludeRefs()
in rts/Prelude.c.

24 years ago[project @ 2000-03-14 12:16:00 by simonmar]
simonmar [Tue, 14 Mar 2000 12:16:00 +0000 (12:16 +0000)]
[project @ 2000-03-14 12:16:00 by simonmar]
Simplfy the mutable array story:

- rename MutableArray to STArray (and similarly
  for all operations on MutableArray, eg newArray
  is now newSTArray).

- remove the extra level of indirection between
  STArrays and MutableArrays.

- remove the MutableArray interface from
  hslibs/lang/MutableArray.  This module will go
  away soon - Andy, don't bother porting it to Hugs.

24 years ago[project @ 2000-03-14 11:11:40 by simonmar]
simonmar [Tue, 14 Mar 2000 11:11:40 +0000 (11:11 +0000)]
[project @ 2000-03-14 11:11:40 by simonmar]
New file for RTS->Prelude dependencies.

24 years ago[project @ 2000-03-14 09:55:05 by simonmar]
simonmar [Tue, 14 Mar 2000 09:55:05 +0000 (09:55 +0000)]
[project @ 2000-03-14 09:55:05 by simonmar]
Handle references from the RTS to the Prelude in a more consistent
way.

- For statically-linked binaries, nothing has changed.

- For the interpreter, refs from the RTS to the Prelude
  are now indirected.  The indirections need to be
  filled in at some point during startup by calling
  fixupPreludeRefs (in Prelude.c).

- The CHARLIKE and INTLIKE tables are now handled in
  the same way for both Hugs and DLLs.

Hugs will be broken for a short while until Julian sorts out the Hugs
parts of this change.

24 years ago[project @ 2000-03-14 09:31:48 by simonmar]
simonmar [Tue, 14 Mar 2000 09:31:48 +0000 (09:31 +0000)]
[project @ 2000-03-14 09:31:48 by simonmar]
oops, missed one instance of UnsafeThawByteArrayOp.

24 years ago[project @ 2000-03-14 01:58:19 by sof]
sof [Tue, 14 Mar 2000 01:58:19 +0000 (01:58 +0000)]
[project @ 2000-03-14 01:58:19 by sof]
Fixed recent -syslib com buglet

24 years ago[project @ 2000-03-14 01:57:18 by sof]
sof [Tue, 14 Mar 2000 01:57:18 +0000 (01:57 +0000)]
[project @ 2000-03-14 01:57:18 by sof]
mingw32: do as for cygwin platforms & default the name of the generated
binary to main.exe if -o <...> isn't given.

24 years ago[project @ 2000-03-14 01:54:06 by sof]
sof [Tue, 14 Mar 2000 01:54:06 +0000 (01:54 +0000)]
[project @ 2000-03-14 01:54:06 by sof]
Simplified prog_* externs a little

24 years ago[project @ 2000-03-14 01:52:25 by sof]
sof [Tue, 14 Mar 2000 01:52:25 +0000 (01:52 +0000)]
[project @ 2000-03-14 01:52:25 by sof]
Misc Win32 bitrot

24 years ago[project @ 2000-03-14 01:50:49 by sof]
sof [Tue, 14 Mar 2000 01:50:49 +0000 (01:50 +0000)]
[project @ 2000-03-14 01:50:49 by sof]
Don't be selective about what's exported from the RTS DLL any more,
as it requires sync'ing HSrts.def whenever the RTS offerings change.

24 years ago[project @ 2000-03-14 01:43:27 by sof]
sof [Tue, 14 Mar 2000 01:43:27 +0000 (01:43 +0000)]
[project @ 2000-03-14 01:43:27 by sof]
* 'inlined' subset of the MM protos needed to compile this module, i.e.,
  don't require whoever does a 'make' in ghc/rts/ to have extended their
  <windows.h>
* right Win32 proto for handle_tick()

24 years ago[project @ 2000-03-14 01:38:43 by sof]
sof [Tue, 14 Mar 2000 01:38:43 +0000 (01:38 +0000)]
[project @ 2000-03-14 01:38:43 by sof]
Support for setting target-specific CC options via AC_SUBST (and make use
of it on the mingw32 front -- 'resist' the temptation to use GMP's config/
story for this.)

24 years ago[project @ 2000-03-14 01:33:39 by sof]
sof [Tue, 14 Mar 2000 01:33:39 +0000 (01:33 +0000)]
[project @ 2000-03-14 01:33:39 by sof]
mingw32 support

24 years ago[project @ 2000-03-14 01:31:38 by sof]
sof [Tue, 14 Mar 2000 01:31:38 +0000 (01:31 +0000)]
[project @ 2000-03-14 01:31:38 by sof]
remove some Makefile debugging bits

24 years ago[project @ 2000-03-14 01:30:21 by sof]
sof [Tue, 14 Mar 2000 01:30:21 +0000 (01:30 +0000)]
[project @ 2000-03-14 01:30:21 by sof]
When booting, pass in --target to gmp/

24 years ago[project @ 2000-03-13 14:11:14 by sewardj]
sewardj [Mon, 13 Mar 2000 14:11:14 +0000 (14:11 +0000)]
[project @ 2000-03-13 14:11:14 by sewardj]
#include wibbles.

24 years ago[project @ 2000-03-13 14:10:24 by sewardj]
sewardj [Mon, 13 Mar 2000 14:10:24 +0000 (14:10 +0000)]
[project @ 2000-03-13 14:10:24 by sewardj]
Win32 wibble.

24 years ago[project @ 2000-03-13 13:00:00 by sewardj]
sewardj [Mon, 13 Mar 2000 13:00:00 +0000 (13:00 +0000)]
[project @ 2000-03-13 13:00:00 by sewardj]
Track recent re-homing of Prelude.h for INTERPRETER.

24 years ago[project @ 2000-03-13 12:11:43 by simonmar]
simonmar [Mon, 13 Mar 2000 12:11:44 +0000 (12:11 +0000)]
[project @ 2000-03-13 12:11:43 by simonmar]
Remove unsafeThawByteArray# primop (which was a no-op), and use
unsafeCoerce# instead.

24 years ago[project @ 2000-03-13 11:43:54 by simonmar]
simonmar [Mon, 13 Mar 2000 11:43:54 +0000 (11:43 +0000)]
[project @ 2000-03-13 11:43:54 by simonmar]
remove duplicate signal type test.

24 years ago[project @ 2000-03-13 11:39:22 by simonmar]
simonmar [Mon, 13 Mar 2000 11:39:22 +0000 (11:39 +0000)]
[project @ 2000-03-13 11:39:22 by simonmar]
Add PutFullMVar test

24 years ago[project @ 2000-03-13 11:37:16 by sewardj]
sewardj [Mon, 13 Mar 2000 11:37:17 +0000 (11:37 +0000)]
[project @ 2000-03-13 11:37:16 by sewardj]
Further cleanups of connect.h.  Also, zap the Args macro.  We really
don't need to support K&R C any more.

24 years ago[project @ 2000-03-13 11:34:00 by simonmar]
simonmar [Mon, 13 Mar 2000 11:34:00 +0000 (11:34 +0000)]
[project @ 2000-03-13 11:34:00 by simonmar]
Need to pull in PutFullMVar from PrelException.

24 years ago[project @ 2000-03-13 11:32:20 by simonmar]
simonmar [Mon, 13 Mar 2000 11:32:20 +0000 (11:32 +0000)]
[project @ 2000-03-13 11:32:20 by simonmar]
Disable the stuff that was supposed to lex octal & hexadecimal
literals, but which didn't work.  The code in the Haskell report
doesn't attempt to lex these either.

24 years ago[project @ 2000-03-13 10:54:49 by simonmar]
simonmar [Mon, 13 Mar 2000 10:54:49 +0000 (10:54 +0000)]
[project @ 2000-03-13 10:54:49 by simonmar]
Add new exception: PutFullMVar for putting into an already full MVar.

24 years ago[project @ 2000-03-13 10:53:55 by simonmar]
simonmar [Mon, 13 Mar 2000 10:53:56 +0000 (10:53 +0000)]
[project @ 2000-03-13 10:53:55 by simonmar]
Move Prelude.h from ghc/includes into ghc/rts.  It's essentially a
list of the things from the Prelude that the RTS depends on, and isn't
relevant to STG code.  Furthermore, this helps to clarify which parts
of the RTS depend on things from the Prelude (by an explicity
#include).

24 years ago[project @ 2000-03-13 10:39:11 by sewardj]
sewardj [Mon, 13 Mar 2000 10:39:11 +0000 (10:39 +0000)]
[project @ 2000-03-13 10:39:11 by sewardj]
Clean up a couple of compilation warnings.

24 years ago[project @ 2000-03-13 10:30:25 by sewardj]
sewardj [Mon, 13 Mar 2000 10:30:25 +0000 (10:30 +0000)]
[project @ 2000-03-13 10:30:25 by sewardj]
Remove #ifdef STANDALONE_INTEGER.

24 years ago[project @ 2000-03-13 10:28:51 by simonmar]
simonmar [Mon, 13 Mar 2000 10:28:51 +0000 (10:28 +0000)]
[project @ 2000-03-13 10:28:51 by simonmar]
Pick up the pieces after Sven's Saturday Night Fever :)

24 years ago[project @ 2000-03-13 10:21:26 by simonmar]
simonmar [Mon, 13 Mar 2000 10:21:26 +0000 (10:21 +0000)]
[project @ 2000-03-13 10:21:26 by simonmar]
remove unused gunk.

24 years ago[project @ 2000-03-13 09:57:16 by simonmar]
simonmar [Mon, 13 Mar 2000 09:57:16 +0000 (09:57 +0000)]
[project @ 2000-03-13 09:57:16 by simonmar]
Remove duplicate definition of unblockOne.

24 years ago[project @ 2000-03-13 09:56:31 by simonmar]
simonmar [Mon, 13 Mar 2000 09:56:31 +0000 (09:56 +0000)]
[project @ 2000-03-13 09:56:31 by simonmar]
Reset the interrupted flag after an interruption.  This allows
finalizers to run, and means that Hugs doesn't get stuck in an
interruption loop.

24 years ago[project @ 2000-03-11 23:55:16 by panne]
panne [Sat, 11 Mar 2000 23:55:16 +0000 (23:55 +0000)]
[project @ 2000-03-11 23:55:16 by panne]
Saturday Night Fever: hPutBufBA again... >:-(

24 years ago[project @ 2000-03-10 22:11:39 by lewie]
lewie [Fri, 10 Mar 2000 22:11:39 +0000 (22:11 +0000)]
[project @ 2000-03-10 22:11:39 by lewie]
Removing backend.h for Julian.

24 years ago[project @ 2000-03-10 20:03:36 by sewardj]
sewardj [Fri, 10 Mar 2000 20:03:37 +0000 (20:03 +0000)]
[project @ 2000-03-10 20:03:36 by sewardj]
Update .c files to reflect reorganisation of .h files in this directory.

24 years ago[project @ 2000-03-10 19:50:44 by sewardj]
sewardj [Fri, 10 Mar 2000 19:50:45 +0000 (19:50 +0000)]
[project @ 2000-03-10 19:50:44 by sewardj]
Major cleanup of header files.  Merge the 5 deleted files into connect.h.
Organise connect.h to gather declarations into roughtly related
categories.

24 years ago[project @ 2000-03-10 18:28:26 by sewardj]
sewardj [Fri, 10 Mar 2000 18:28:26 +0000 (18:28 +0000)]
[project @ 2000-03-10 18:28:26 by sewardj]
Nuke a substantial number of no-longer-supported options.

24 years ago[project @ 2000-03-10 17:30:36 by lewie]
lewie [Fri, 10 Mar 2000 17:30:36 +0000 (17:30 +0000)]
[project @ 2000-03-10 17:30:36 by lewie]
First stab at reviving TREX - just fixing some header wibbles.  Also one small
fix to get implicit parameters working (`textOf' needed to be taught that
IPCELLs are also OK).  Moved #defines for TREX, IPARAM, etc, into options.h
(in their previous location at the end of prelude.h, they were being defined
too late).

24 years ago[project @ 2000-03-10 15:23:40 by simonmar]
simonmar [Fri, 10 Mar 2000 15:23:40 +0000 (15:23 +0000)]
[project @ 2000-03-10 15:23:40 by simonmar]
Fix h{Fill,Put}Buf(BA)?.  They now work in the presence of
partial/blocking reads and writes, and hPutBuf now doesn't hold on to
the handle while it's blocking.

24 years ago[project @ 2000-03-10 15:20:18 by simonmar]
simonmar [Fri, 10 Mar 2000 15:20:18 +0000 (15:20 +0000)]
[project @ 2000-03-10 15:20:18 by simonmar]
Fix h{Fill,Put}Buf(BA)?.  They now work in the presence of
partial/blocking reads and writes, and hPutBuf now doesn't hold on to
the handle while it's blocking.

24 years ago[project @ 2000-03-10 14:53:00 by sewardj]
sewardj [Fri, 10 Mar 2000 14:53:00 +0000 (14:53 +0000)]
[project @ 2000-03-10 14:53:00 by sewardj]
Compilation cleanups:
* Add some prototypes to header files, to avoid compilation warnings.
* Remove irrelevant #ifdeffery (#if NPLUSK, + various others)

24 years ago[project @ 2000-03-09 21:35:38 by andy]
andy [Thu, 9 Mar 2000 21:35:38 +0000 (21:35 +0000)]
[project @ 2000-03-09 21:35:38 by andy]
Rm debugging printf.

24 years ago[project @ 2000-03-09 21:16:49 by andy]
andy [Thu, 9 Mar 2000 21:16:49 +0000 (21:16 +0000)]
[project @ 2000-03-09 21:16:49 by andy]
Wibble: rm needless import Prelude used by Hugs.

24 years ago[project @ 2000-03-09 14:18:12 by panne]
panne [Thu, 9 Mar 2000 14:18:22 +0000 (14:18 +0000)]
[project @ 2000-03-09 14:18:12 by panne]
Added some NOINLINE pragmas for unsafePerformIO/newIORef hacks.

24 years ago[project @ 2000-03-09 14:11:59 by simonpj]
simonpj [Thu, 9 Mar 2000 14:11:59 +0000 (14:11 +0000)]
[project @ 2000-03-09 14:11:59 by simonpj]
Correct bug in local fixity decls (reported by Michael Hudson)

24 years ago[project @ 2000-03-09 13:33:01 by panne]
panne [Thu, 9 Mar 2000 13:33:01 +0000 (13:33 +0000)]
[project @ 2000-03-09 13:33:01 by panne]
Changed an #ifdef so that the Prelude can be builit again by GHC.

24 years ago[project @ 2000-03-09 13:31:54 by simonpj]
simonpj [Thu, 9 Mar 2000 13:31:54 +0000 (13:31 +0000)]
[project @ 2000-03-09 13:31:54 by simonpj]
Add fixity tests

24 years ago[project @ 2000-03-09 13:28:08 by panne]
panne [Thu, 9 Mar 2000 13:28:08 +0000 (13:28 +0000)]
[project @ 2000-03-09 13:28:08 by panne]
Removed a typo, i.e. ]\begin{code} => \begin{code}

24 years ago[project @ 2000-03-09 11:49:34 by simonmar]
simonmar [Thu, 9 Mar 2000 11:49:34 +0000 (11:49 +0000)]
[project @ 2000-03-09 11:49:34 by simonmar]
Disable module initialisation under Hugs until we can sort out the
hairy linking issues.

24 years ago[project @ 2000-03-09 10:19:33 by andy]
andy [Thu, 9 Mar 2000 10:19:33 +0000 (10:19 +0000)]
[project @ 2000-03-09 10:19:33 by andy]
Porting bug fix from Classic Hugs to STG Hugs. This was
causing crashes when compiling large examples.

Removing some dead code from static.c

24 years ago[project @ 2000-03-09 09:39:26 by simonmar]
simonmar [Thu, 9 Mar 2000 09:39:26 +0000 (09:39 +0000)]
[project @ 2000-03-09 09:39:26 by simonmar]
- remove hack which treats '_[A-Z]+' as a constructor token.  This
  isn't required now that everything in interface files is Z-encoded.

24 years ago[project @ 2000-03-09 09:31:50 by simonmar]
simonmar [Thu, 9 Mar 2000 09:31:50 +0000 (09:31 +0000)]
[project @ 2000-03-09 09:31:50 by simonmar]
syslib data depends on syslib lang.

24 years ago[project @ 2000-03-09 06:14:38 by andy]
andy [Thu, 9 Mar 2000 06:14:39 +0000 (06:14 +0000)]
[project @ 2000-03-09 06:14:38 by andy]
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 :-).

24 years ago[project @ 2000-03-09 05:59:48 by andy]
andy [Thu, 9 Mar 2000 05:59:48 +0000 (05:59 +0000)]
[project @ 2000-03-09 05:59:48 by andy]
Changing use literate programming, to allow hugs to compile this program.

24 years ago[project @ 2000-03-09 02:47:13 by andy]
andy [Thu, 9 Mar 2000 02:47:13 +0000 (02:47 +0000)]
[project @ 2000-03-09 02:47:13 by andy]
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.

24 years ago[project @ 2000-03-08 23:55:00 by andy]
andy [Wed, 8 Mar 2000 23:55:00 +0000 (23:55 +0000)]
[project @ 2000-03-08 23:55:00 by andy]
A Prelude where IO is an abstract type, not a synonm.

Previously, IO type errors were getting explained in terms of ST RealWorld.

24 years ago[project @ 2000-03-08 22:05:43 by andy]
andy [Wed, 8 Mar 2000 22:05:43 +0000 (22:05 +0000)]
[project @ 2000-03-08 22:05:43 by andy]
Adding version of Makefile that looks in the new location for Prelude.hs

24 years ago[project @ 2000-03-08 21:45:03 by andy]
andy [Wed, 8 Mar 2000 21:45:03 +0000 (21:45 +0000)]
[project @ 2000-03-08 21:45:03 by andy]
Adding the latest version of the makefile
Removing Prelude.hs from the lib dir

24 years ago[project @ 2000-03-08 21:39:47 by andy]
andy [Wed, 8 Mar 2000 21:39:47 +0000 (21:39 +0000)]
[project @ 2000-03-08 21:39:47 by andy]
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
shortly.

24 years ago[project @ 2000-03-08 17:48:24 by simonmar]
simonmar [Wed, 8 Mar 2000 17:48:26 +0000 (17:48 +0000)]
[project @ 2000-03-08 17:48:24 by simonmar]
- 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.

24 years ago[project @ 2000-03-08 15:58:30 by simonmar]
simonmar [Wed, 8 Mar 2000 15:58:30 +0000 (15:58 +0000)]
[project @ 2000-03-08 15:58:30 by simonmar]
okToUnfoldInHiFile: look at args of a Con for litlits.

24 years ago[project @ 2000-03-08 11:20:53 by sewardj]
sewardj [Wed, 8 Mar 2000 11:20:53 +0000 (11:20 +0000)]
[project @ 2000-03-08 11:20:53 by sewardj]
Define EXTERN_SYMS_linux for Linux.

24 years ago[project @ 2000-03-08 10:58:38 by simonmar]
simonmar [Wed, 8 Mar 2000 10:58:38 +0000 (10:58 +0000)]
[project @ 2000-03-08 10:58:38 by simonmar]
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
assembler.

While I'm here, pull in some of the comments from the old pre-4.00 RTS
and add some new comments.

24 years ago[project @ 2000-03-07 16:18:25 by sewardj]
sewardj [Tue, 7 Mar 2000 16:18:25 +0000 (16:18 +0000)]
[project @ 2000-03-07 16:18:25 by sewardj]
Complete the initial implementation and debugging of the Win32 PE
(PEi386) linker.

24 years ago[project @ 2000-03-07 12:03:01 by simonmar]
simonmar [Tue, 7 Mar 2000 12:03:01 +0000 (12:03 +0000)]
[project @ 2000-03-07 12:03:01 by simonmar]
oops, need to define prof_file when DEBUGging too.

24 years ago[project @ 2000-03-07 11:58:49 by simonmar]
simonmar [Tue, 7 Mar 2000 11:58:49 +0000 (11:58 +0000)]
[project @ 2000-03-07 11:58:49 by simonmar]
Don't GC after a stack overflow.  This might have been necessary
temporarily, but isn't any more.

24 years ago[project @ 2000-03-07 11:53:12 by simonmar]
simonmar [Tue, 7 Mar 2000 11:53:12 +0000 (11:53 +0000)]
[project @ 2000-03-07 11:53:12 by simonmar]
Remove duplicate prof_file variable.  Heap profiling should work again.

24 years ago[project @ 2000-03-07 11:35:36 by simonmar]
simonmar [Tue, 7 Mar 2000 11:35:36 +0000 (11:35 +0000)]
[project @ 2000-03-07 11:35:36 by simonmar]
Move the x86 startup code into StgCRun.c, and remove StgRun.S.
Although the assembly version was much cleaner, it didn't extend the
stack properly in the case when the host architecture requires it to
be extended a page at a time (eg. Win32).  We now rely on the C
compiler to do this properly.

24 years ago[project @ 2000-03-07 09:34:43 by sewardj]
sewardj [Tue, 7 Mar 2000 09:34:43 +0000 (09:34 +0000)]
[project @ 2000-03-07 09:34:43 by sewardj]
Properly fix a sprintf bug in typeInstDefn().

24 years ago[project @ 2000-03-07 07:27:11 by andy]
andy [Tue, 7 Mar 2000 07:27:11 +0000 (07:27 +0000)]
[project @ 2000-03-07 07:27:11 by andy]
Fixing a sprintf bug; it was clobering the symbol table.
If you used a name for a class and module, the module
was not recognised as read.

24 years ago[project @ 2000-03-07 06:24:23 by andy]
andy [Tue, 7 Mar 2000 06:24:23 +0000 (06:24 +0000)]
[project @ 2000-03-07 06:24:23 by andy]
Adding link for monadic bind. This was causing the monad fail inside
pattern matching (use inside the XML lib, for example) to fail.

24 years ago[project @ 2000-03-06 23:07:09 by andy]
andy [Mon, 6 Mar 2000 23:07:09 +0000 (23:07 +0000)]
[project @ 2000-03-06 23:07:09 by andy]
Adding latest version of STG Hugs libs makefile.

24 years ago[project @ 2000-03-06 12:02:37 by simonmar]
simonmar [Mon, 6 Mar 2000 12:02:37 +0000 (12:02 +0000)]
[project @ 2000-03-06 12:02:37 by simonmar]
Add extra-closing-brace test.

24 years ago[project @ 2000-03-06 11:58:27 by simonmar]
simonmar [Mon, 6 Mar 2000 11:58:28 +0000 (11:58 +0000)]
[project @ 2000-03-06 11:58:27 by simonmar]
Turn the panic in Lex.popContext into a parse error.

24 years ago[project @ 2000-03-06 10:12:57 by sewardj]
sewardj [Mon, 6 Mar 2000 10:12:57 +0000 (10:12 +0000)]
[project @ 2000-03-06 10:12:57 by sewardj]
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'.

24 years ago[project @ 2000-03-06 08:42:56 by andy]
andy [Mon, 6 Mar 2000 08:42:56 +0000 (08:42 +0000)]
[project @ 2000-03-06 08:42:56 by andy]
Adding prelude changes require for the new libs, include IOExts.
Reintroducing ptr equality into HugsSTG.

24 years ago[project @ 2000-03-06 08:38:04 by andy]
andy [Mon, 6 Mar 2000 08:38:05 +0000 (08:38 +0000)]
[project @ 2000-03-06 08:38:04 by andy]
Adding the Feb00 changed from Classic Hugs into STG Hugs.

24 years ago[project @ 2000-03-06 08:01:01 by andy]
andy [Mon, 6 Mar 2000 08:01:01 +0000 (08:01 +0000)]
[project @ 2000-03-06 08:01:01 by andy]
Removing debugging printf code from hClose.

24 years ago[project @ 2000-03-03 17:13:15 by sewardj]
sewardj [Fri, 3 Mar 2000 17:13:15 +0000 (17:13 +0000)]
[project @ 2000-03-03 17:13:15 by sewardj]
Implement ocVerifyImage and ocGetNames for Microsoft PE object format.
They compile but do not work yet.  ocResolve has yet to be done.

24 years ago[project @ 2000-03-03 10:49:43 by simonmar]
simonmar [Fri, 3 Mar 2000 10:49:43 +0000 (10:49 +0000)]
[project @ 2000-03-03 10:49:43 by simonmar]
- add Happy as a pre-supposed tool.
- clean up, removed gratuitous white-space

24 years ago[project @ 2000-03-02 22:51:30 by lewie]
lewie [Thu, 2 Mar 2000 22:51:30 +0000 (22:51 +0000)]
[project @ 2000-03-02 22:51:30 by lewie]
Further refine and fix how `with' partitions the LIE.  Also moved the
partitioning function from Inst to TcSimplify.  Fixed layout bug with
`with'.  Fixed another wibble w/ importing defs w/ implicit params.
Make 4-tuples outputable (a convenience in debugging measure).

24 years ago[project @ 2000-03-02 15:53:26 by panne]
panne [Thu, 2 Mar 2000 15:53:26 +0000 (15:53 +0000)]
[project @ 2000-03-02 15:53:26 by panne]
Small improvement in warning message

24 years ago[project @ 2000-03-02 15:36:46 by panne]
panne [Thu, 2 Mar 2000 15:36:52 +0000 (15:36 +0000)]
[project @ 2000-03-02 15:36:46 by panne]
More steps towards class/type/constructor deprecation

24 years ago[project @ 2000-03-02 14:20:28 by panne]
panne [Thu, 2 Mar 2000 14:20:28 +0000 (14:20 +0000)]
[project @ 2000-03-02 14:20:28 by panne]
Deprecation warnings have a useful source location now.

24 years ago[project @ 2000-03-02 11:39:45 by keithw]
keithw [Thu, 2 Mar 2000 11:39:45 +0000 (11:39 +0000)]
[project @ 2000-03-02 11:39:45 by keithw]
Move `Average' line back to bottom of table to save confusion.

24 years ago[project @ 2000-03-02 10:32:17 by sewardj]
sewardj [Thu, 2 Mar 2000 10:32:17 +0000 (10:32 +0000)]
[project @ 2000-03-02 10:32:17 by sewardj]
Remove debug printing accidentally left in.

24 years ago[project @ 2000-03-02 10:11:50 by sewardj]
sewardj [Thu, 2 Mar 2000 10:11:50 +0000 (10:11 +0000)]
[project @ 2000-03-02 10:11:50 by sewardj]
comment spelling typo wurble

24 years ago[project @ 2000-03-02 10:10:33 by sewardj]
sewardj [Thu, 2 Mar 2000 10:10:34 +0000 (10:10 +0000)]
[project @ 2000-03-02 10:10:33 by sewardj]
Changes needed to support foreign export (dynamic) in combined mode.

24 years ago[project @ 2000-03-01 18:38:45 by keithw]
keithw [Wed, 1 Mar 2000 18:38:45 +0000 (18:38 +0000)]
[project @ 2000-03-01 18:38:45 by keithw]
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.

24 years ago[project @ 2000-03-01 18:10:43 by lewie]
lewie [Wed, 1 Mar 2000 18:10:44 +0000 (18:10 +0000)]
[project @ 2000-03-01 18:10:43 by lewie]
Filled in some missing support for importing defs w/ implicit params.
Fixed bug in improvement w/ implicit params.

24 years ago[project @ 2000-03-01 16:57:57 by sewardj]
sewardj [Wed, 1 Mar 2000 16:57:57 +0000 (16:57 +0000)]
[project @ 2000-03-01 16:57:57 by sewardj]
forceIO_ret_entry, when #ifndef REG_R1: remember to load Node.

24 years ago[project @ 2000-03-01 15:20:54 by panne]
panne [Wed, 1 Mar 2000 15:21:01 +0000 (15:21 +0000)]
[project @ 2000-03-01 15:20:54 by panne]
Because of the previous HaXml-"improvement" :-}, syslib text now
depends on syslib data.

24 years ago[project @ 2000-03-01 12:31:22 by sewardj]
sewardj [Wed, 1 Mar 2000 12:31:22 +0000 (12:31 +0000)]
[project @ 2000-03-01 12:31:22 by sewardj]
Temporarily disable Stix inlining whilst we figure out how to fix
obscure bugs in the register allocator.  With inlining off, everything
seems to work, and the compiler can boot itself, but when enabled,
inlining exposes a register allocation bug which causes
ghc/compiler/utils/FastString.lhs to be miscompiled on Linux (the big
arithmetic expressions for computing hash values).

24 years ago[project @ 2000-03-01 11:09:05 by simonmar]
simonmar [Wed, 1 Mar 2000 11:09:05 +0000 (11:09 +0000)]
[project @ 2000-03-01 11:09:05 by simonmar]
oops, remove assigment to non-existent "emitted" field in a CCS.

24 years ago[project @ 2000-02-29 19:59:38 by sof]
sof [Tue, 29 Feb 2000 19:59:38 +0000 (19:59 +0000)]
[project @ 2000-02-29 19:59:38 by sof]
Added removeIndirections() and make use of it in lookupStableName() -- increases
the possibilities of StableName sharing.