ghc-hetmet.git
24 years ago[project @ 2000-05-09 15:37:07 by rrt]
rrt [Tue, 9 May 2000 15:37:08 +0000 (15:37 +0000)]
[project @ 2000-05-09 15:37:07 by rrt]
Removed info and texinfo support.

24 years ago[project @ 2000-05-09 13:31:27 by rrt]
rrt [Tue, 9 May 2000 13:31:27 +0000 (13:31 +0000)]
[project @ 2000-05-09 13:31:27 by rrt]
Used identifiers rather than paths to find the print and HTML stylesheets.
N.B. This means that building docs won't work unless you set
SGML_CATALOG_FILES to
/usr/lib/sgml/CATALOG:/usr/lib/sgml/stylesheets/nwalsh-modular/docbook.cat,
or wait for this lot to be added to the build system (RSN).

24 years ago[project @ 2000-05-09 13:15:37 by simonpj]
simonpj [Tue, 9 May 2000 13:15:37 +0000 (13:15 +0000)]
[project @ 2000-05-09 13:15:37 by simonpj]
Get package names right.  Again.

24 years ago[project @ 2000-05-09 12:34:29 by rrt]
rrt [Tue, 9 May 2000 12:34:29 +0000 (12:34 +0000)]
[project @ 2000-05-09 12:34:29 by rrt]
Point out in the comment for GhcLibHcOpts that it also applies to the
standard library and hslibs.

24 years ago[project @ 2000-05-09 10:43:45 by rrt]
rrt [Tue, 9 May 2000 10:43:45 +0000 (10:43 +0000)]
[project @ 2000-05-09 10:43:45 by rrt]
Changed Perl test so that it simply allows vv5 & 6 and disallows any other;
also hardwire path to perl to /bin/perl under Windows, to avoid clashing with
other weird Perls that may be on the path.

24 years ago[project @ 2000-05-09 10:13:18 by sewardj]
sewardj [Tue, 9 May 2000 10:13:18 +0000 (10:13 +0000)]
[project @ 2000-05-09 10:13:18 by sewardj]
Add -DNO_REGS to SRC_CC_OPTS.

24 years ago[project @ 2000-05-09 10:06:06 by sewardj]
sewardj [Tue, 9 May 2000 10:06:06 +0000 (10:06 +0000)]
[project @ 2000-05-09 10:06:06 by sewardj]
Record details of the fptools/mk/build.mk required to build Hugs.

24 years ago[project @ 2000-05-09 10:00:35 by sewardj]
sewardj [Tue, 9 May 2000 10:00:36 +0000 (10:00 +0000)]
[project @ 2000-05-09 10:00:35 by sewardj]
Fix various compile-time warnings in the assembler and evaluator.

24 years ago[project @ 2000-05-09 09:27:03 by rrt]
rrt [Tue, 9 May 2000 09:27:03 +0000 (09:27 +0000)]
[project @ 2000-05-09 09:27:03 by rrt]
Corrected a typo (omitted space).

24 years ago[project @ 2000-05-09 09:26:29 by sewardj]
sewardj [Tue, 9 May 2000 09:26:29 +0000 (09:26 +0000)]
[project @ 2000-05-09 09:26:29 by sewardj]
Undefine NO_REGS.  Seems unneccessary since the driver supplies it anyway
when compiling the RTS, and this duplicate defn generates a lot of warnings.

24 years ago[project @ 2000-05-09 09:11:40 by sewardj]
sewardj [Tue, 9 May 2000 09:11:40 +0000 (09:11 +0000)]
[project @ 2000-05-09 09:11:40 by sewardj]
Reorder tests in whatIs() to try for most common options first.

24 years ago[project @ 2000-05-09 08:22:01 by rrt]
rrt [Tue, 9 May 2000 08:22:01 +0000 (08:22 +0000)]
[project @ 2000-05-09 08:22:01 by rrt]
Typo: changed ($Var) to $(Var) in test to set SplitObjs.

24 years ago[project @ 2000-05-08 17:24:10 by panne]
panne [Mon, 8 May 2000 17:24:10 +0000 (17:24 +0000)]
[project @ 2000-05-08 17:24:10 by panne]
Committing the Makefile, too, might be a good idea: Removed ctypes.

24 years ago[project @ 2000-05-08 17:18:02 by panne]
panne [Mon, 8 May 2000 17:18:02 +0000 (17:18 +0000)]
[project @ 2000-05-08 17:18:02 by panne]
* Changed a backslash at EOL to the word "backslash". Using cpp in
  conjunction with Haskell is a real hack...

* Renamed the module Ctypes to Ctype, because CTypes is (soon) a
  module from package lang. I'm not sure if two files differing only
  in their case work under "the" OS. Just to be sure...

24 years ago[project @ 2000-05-08 15:57:01 by simonmar]
simonmar [Mon, 8 May 2000 15:57:01 +0000 (15:57 +0000)]
[project @ 2000-05-08 15:57:01 by simonmar]
Detect threads that are blocked on themselves (i.e. black holed), and
raise NonTermination exceptions.  We only do this when the system is
deadlocked, so as not to introduce unnecessary overhead in the normal
case.

24 years ago[project @ 2000-05-08 15:19:48 by panne]
panne [Mon, 8 May 2000 15:19:48 +0000 (15:19 +0000)]
[project @ 2000-05-08 15:19:48 by panne]
Replaced last remnants of C in the scanner/parser with carefully tuned
Haskell. TODO: Test with GHC < 3.03

24 years ago[project @ 2000-05-08 15:05:36 by simonmar]
simonmar [Mon, 8 May 2000 15:05:36 +0000 (15:05 +0000)]
[project @ 2000-05-08 15:05:36 by simonmar]
change a bunch of externs into statics.  This fixes a long-standing
bug and should eliminate the annoying "<blah> was declared extern and
later static" warnings from gcc.

24 years ago[project @ 2000-05-08 15:03:24 by simonmar]
simonmar [Mon, 8 May 2000 15:03:24 +0000 (15:03 +0000)]
[project @ 2000-05-08 15:03:24 by simonmar]
Put the extern declarations *outside* the function body for a
CCodeBlock.  This will enable us to give "extern" declarations for
variables that have scope static to the current module.

24 years ago[project @ 2000-05-08 14:54:57 by rrt]
rrt [Mon, 8 May 2000 14:54:58 +0000 (14:54 +0000)]
[project @ 2000-05-08 14:54:57 by rrt]
Replaced SGML2INFO stuff (which is no longer supported) with SGML2PS (which
is, and may well be useful to some).

24 years ago[project @ 2000-05-08 13:40:24 by panne]
panne [Mon, 8 May 2000 13:40:24 +0000 (13:40 +0000)]
[project @ 2000-05-08 13:40:24 by panne]
*argl* Sorry, my usual Monday-typos...

24 years ago[project @ 2000-05-08 13:39:17 by panne]
panne [Mon, 8 May 2000 13:39:17 +0000 (13:39 +0000)]
[project @ 2000-05-08 13:39:17 by panne]
shutdownHaskellAndExit is "safe" again

24 years ago[project @ 2000-05-08 08:23:08 by simonpj]
simonpj [Mon, 8 May 2000 08:23:08 +0000 (08:23 +0000)]
[project @ 2000-05-08 08:23:08 by simonpj]
Name qualification
~~~~~~~~~~~~~~~~~~
Yet another wilbble on the recent renamer fix, this
time to make sure that names are printed unqualified
if they should be.    Sigh.

24 years ago[project @ 2000-05-08 07:14:35 by simonpj]
simonpj [Mon, 8 May 2000 07:14:35 +0000 (07:14 +0000)]
[project @ 2000-05-08 07:14:35 by simonpj]
Interface file reading
~~~~~~~~~~~~~~~~~~~~~~
Make interface files reading more robust.
  * If the old interface file is unreadable, don't fail. [bug fix]

  * If the old interface file mentions interfaces
    that are unreadable, don't fail. [bug fix]

  * When we can't find the interface file,
    print the directories we are looking in.  [feature]

24 years ago[project @ 2000-05-02 07:50:41 by chak]
chak [Tue, 2 May 2000 07:50:41 +0000 (07:50 +0000)]
[project @ 2000-05-02 07:50:41 by chak]
Removed a last flaw and use `cvs export' instead of `cvs checkout' now.

24 years ago[project @ 2000-05-01 14:53:47 by panne]
panne [Mon, 1 May 2000 14:53:47 +0000 (14:53 +0000)]
[project @ 2000-05-01 14:53:47 by panne]
Adding a bunch of `unsafe's to foreign imports. TODO: Could somebody
verify that declaring shutdownHaskellAndExit as unsafe is OK?

24 years ago[project @ 2000-05-01 14:44:25 by panne]
panne [Mon, 1 May 2000 14:44:25 +0000 (14:44 +0000)]
[project @ 2000-05-01 14:44:25 by panne]
The NCG doesn't like `foreign label' yet, so addrOf_ErrorHdrHook is a
C function now.

24 years ago[project @ 2000-05-01 14:35:17 by panne]
panne [Mon, 1 May 2000 14:35:17 +0000 (14:35 +0000)]
[project @ 2000-05-01 14:35:17 by panne]
Handle sameMutVar#, sameMVar#, writeForeignObj#

24 years ago[project @ 2000-05-01 14:33:39 by panne]
panne [Mon, 1 May 2000 14:33:39 +0000 (14:33 +0000)]
[project @ 2000-05-01 14:33:39 by panne]
Handle ThreadIdRep. Output warnings for {Word,Int}64Rep, returning a
completely bogus size (for testing NCG only).

24 years ago[project @ 2000-05-01 14:31:22 by panne]
panne [Mon, 1 May 2000 14:31:22 +0000 (14:31 +0000)]
[project @ 2000-05-01 14:31:22 by panne]
Fixed typo in comment

24 years ago[project @ 2000-04-30 01:42:23 by chak]
chak [Sun, 30 Apr 2000 01:42:23 +0000 (01:42 +0000)]
[project @ 2000-04-30 01:42:23 by chak]
The first version of a script that allows building rpm packages directly from
CVS.  It currently works for ghc only, but will be extended to cover the
other fptools.

It should work on all rpm-based systems, as I tried to avoid any dependency on
Red Hat systems (as far as I am aware of them).  In particular, the rpm build
process is carried out below /tmp instead of the standard /usr/src/redhat
hierarchy.

By default the cvs head of the anonymous repository is built, but cvs-style -d
-D, and -r options allow to built from a different repository and revision.

[This version is only half tested, because the CVS head seems to not build
anymore today.]

24 years ago[project @ 2000-04-29 22:44:26 by simonpj]
simonpj [Sat, 29 Apr 2000 22:44:26 +0000 (22:44 +0000)]
[project @ 2000-04-29 22:44:26 by simonpj]
Wibble in recent RnEnv changes

This meant that things fell over when you try to
build the Prelude.  Fixed now.

24 years ago[project @ 2000-04-29 06:53:12 by chak]
chak [Sat, 29 Apr 2000 06:53:12 +0000 (06:53 +0000)]
[project @ 2000-04-29 06:53:12 by chak]
The file list generation needed some more tweaking, but seems to work now.

24 years ago[project @ 2000-04-28 17:16:10 by rrt]
rrt [Fri, 28 Apr 2000 17:16:10 +0000 (17:16 +0000)]
[project @ 2000-04-28 17:16:10 by rrt]
Changed HSprel.dll to HSstd.dll

24 years ago[project @ 2000-04-28 16:59:53 by rrt]
rrt [Fri, 28 Apr 2000 16:59:53 +0000 (16:59 +0000)]
[project @ 2000-04-28 16:59:53 by rrt]
Changed HSprel.dll to HSstd.dll, as it should be.

24 years ago[project @ 2000-04-28 15:06:04 by panne]
panne [Fri, 28 Apr 2000 15:06:04 +0000 (15:06 +0000)]
[project @ 2000-04-28 15:06:04 by panne]
Updated out-of-date comment about representation of StablePtr

24 years ago[project @ 2000-04-28 15:05:04 by panne]
panne [Fri, 28 Apr 2000 15:05:04 +0000 (15:05 +0000)]
[project @ 2000-04-28 15:05:04 by panne]
Nuked trace message from NCG

24 years ago[project @ 2000-04-28 15:04:07 by panne]
panne [Fri, 28 Apr 2000 15:04:07 +0000 (15:04 +0000)]
[project @ 2000-04-28 15:04:07 by panne]
NCG now handles writeBLAHOffAddr# primops

24 years ago[project @ 2000-04-28 13:09:19 by sewardj]
sewardj [Fri, 28 Apr 2000 13:09:19 +0000 (13:09 +0000)]
[project @ 2000-04-28 13:09:19 by sewardj]
Remove some debug printing.

24 years ago[project @ 2000-04-28 13:03:47 by sewardj]
sewardj [Fri, 28 Apr 2000 13:03:47 +0000 (13:03 +0000)]
[project @ 2000-04-28 13:03:47 by sewardj]
Handle TUPLE in substExpr().

24 years ago[project @ 2000-04-28 11:58:22 by simonpj]
simonpj [Fri, 28 Apr 2000 11:58:23 +0000 (11:58 +0000)]
[project @ 2000-04-28 11:58:22 by simonpj]
Fix a renamer bug that meant we weren't getting
package information propagated properly.

24 years ago[project @ 2000-04-28 09:45:26 by sewardj]
sewardj [Fri, 28 Apr 2000 09:45:26 +0000 (09:45 +0000)]
[project @ 2000-04-28 09:45:26 by sewardj]
Time for bye-byes for QueueTemplate.h.  The big reorganisation of the
BCO linker makes this unnecessary.

24 years ago[project @ 2000-04-27 16:35:29 by sewardj]
sewardj [Thu, 27 Apr 2000 16:35:30 +0000 (16:35 +0000)]
[project @ 2000-04-27 16:35:29 by sewardj]
A total rewrite of the BCO assembler/linker, and rationalisation of
the code management and code generation phases of Hugs.

Problems with the old linker:

* Didn't have a clean way to insert a pointer to GHC code into a BCO.
  This meant CAF GC didn't work properly in combined mode.

* Leaked memory.  Each BCO, caf and constructor generated by Hugs had
  a corresponding malloc'd record used in its construction.  These
  records existed forever.  Pointers from the Hugs symbol tables into
  the runtime heap always went via these intermediates, for no apparent
  reason.

* A global variable holding a list of top-level stg trees was used
  during code generation.  It was hard to associate trees in this
  list with entries in the name/tycon tables.  Just too many
  mechanisms.

The New World Order is as follows:

* The global code list (stgGlobals) is gone.

* Each name in the name table has a .closure field.  This points
  to the top-level code for that name.  Before bytecode generation
  this points to a STG tree.  During bytecode generation but before
  bytecode linking it is a MPtr pointing to a malloc'd intermediate
  structure (an AsmObject).  After linking, it is a real live pointer
  into the execution heap (CPtr) which is treated as a root during GC.

  Because tuples do not have name table entries, tycons which are
  tuples also have a .closure field, which is treated identically
  to those of name table entries.

* Each module has a code list -- a list of names and tuples.  If you
  are a name or tuple and you have something (code, CAF or Con) which
  needs to wind up in the execution heap, you MUST be on your module's
  code list.  Otherwise you won't get code generated.

* Lambda lifting generates new name table entries, which of course
  also wind up on the code list.

* The initial phase of code generation for a module m traverses m's
  code list.  The stg trees referenced in the .closure fields are
  code generated, creating AsmObject (AsmBCO, AsmCAF, AsmCon) in
  mallocville.  The .closure fields then point to these AsmObjects.
  Since AsmObjects can be mutually recursive, they can contain
  references to:
     * Other AsmObjects            Asm_RefObject
     * Existing closures           Asm_RefNoOp
     * name/tycon table entries    Asm_RefHugs
  AsmObjects can also contain BCO insns and non-ptr words.

* A second copy-and-link phase copies the AsmObjects into the
  execution heap, resolves the Asm_Ref* items, and frees up
  the malloc'd entities.

* Minor cleanups in compile-time storage.  There are now 3 kinds of
  address-y things available:
     CPtr/mkCPtr/cptrOf    -- ptrs to Closures, probably in exec heap
                              ie anything which the exec GC knows about
     MPtr/mkMPtr/mptrOf    -- ptrs to mallocville, which the exec GC
                              knows nothing about
     Addr/mkAddr/addrOf    -- literal addresses (like literal ints)

* Many hacky cases removed from codegen.c.  Referencing code or
  data during code generation is a lot simpler, since an entity
  is either:
      a CPtr, in which case use it as is
      a MPtr -- stuff it into the AsmObject and the linker will fix it
      a name or tycon
             -- ditto

* I've checked, using Purify that, at least in standalone mode,
  no longer leaks mallocd memory.  Prior to this it would leak at
  the rate of about 300k per Prelude.

* Added this comment to the top of codegen.c.

Still to do:

* Reinstate peephole optimisation for BCOs.

* Nuke magic number headers in AsmObjects, used for debugging.

* Profile and accelerate.  Code generation is slower because linking
  is slower.  Evaluation GC is slower because markHugsObjects has
  slowed down.

* Make setCurrentModule ignore name table entries created by the
  lambda-lifter.

* Zap various #if 0's in codegen.c/Assembler.c.

* Zap CRUDE_PROFILING.

24 years ago[project @ 2000-04-27 16:31:46 by sewardj]
sewardj [Thu, 27 Apr 2000 16:31:46 +0000 (16:31 +0000)]
[project @ 2000-04-27 16:31:46 by sewardj]
Zap unused revert_dead_CAFs.

24 years ago[project @ 2000-04-27 16:29:55 by sewardj]
sewardj [Thu, 27 Apr 2000 16:29:55 +0000 (16:29 +0000)]
[project @ 2000-04-27 16:29:55 by sewardj]
Remove misleading comment about registerisation assumptions.

24 years ago[project @ 2000-04-27 16:26:56 by sewardj]
sewardj [Thu, 27 Apr 2000 16:26:56 +0000 (16:26 +0000)]
[project @ 2000-04-27 16:26:56 by sewardj]
Add CMODE to switch conveniently between combined and standalone testing.

24 years ago[project @ 2000-04-27 13:54:11 by chak]
chak [Thu, 27 Apr 2000 13:54:11 +0000 (13:54 +0000)]
[project @ 2000-04-27 13:54:11 by chak]
debugged computation of the file list for the base (non-profiling) package

24 years ago[project @ 2000-04-27 13:52:33 by chak]
chak [Thu, 27 Apr 2000 13:52:33 +0000 (13:52 +0000)]
[project @ 2000-04-27 13:52:33 by chak]
made version consistent with version.mk

24 years ago[project @ 2000-04-27 13:14:44 by rrt]
rrt [Thu, 27 Apr 2000 13:14:44 +0000 (13:14 +0000)]
[project @ 2000-04-27 13:14:44 by rrt]
Goodness only knows what an "oarser" is. Or rather, was.

24 years ago[project @ 2000-04-27 11:11:55 by simonmar]
simonmar [Thu, 27 Apr 2000 11:11:55 +0000 (11:11 +0000)]
[project @ 2000-04-27 11:11:55 by simonmar]
update docs w.r.t. clean targets.

24 years ago[project @ 2000-04-27 11:06:26 by rrt]
rrt [Thu, 27 Apr 2000 11:06:26 +0000 (11:06 +0000)]
[project @ 2000-04-27 11:06:26 by rrt]
Spelt "compiled" with a "p" in a comment.

24 years ago[project @ 2000-04-27 11:04:36 by simonmar]
simonmar [Thu, 27 Apr 2000 11:04:37 +0000 (11:04 +0000)]
[project @ 2000-04-27 11:04:36 by simonmar]
remove 'veryclean' target.

24 years ago[project @ 2000-04-27 10:44:02 by simonmar]
simonmar [Thu, 27 Apr 2000 10:44:02 +0000 (10:44 +0000)]
[project @ 2000-04-27 10:44:02 by simonmar]
Give this subdir a proper target.mk, and set $(TOP) properly in
boilerplate.mk.

24 years ago[project @ 2000-04-27 10:40:43 by simonmar]
simonmar [Thu, 27 Apr 2000 10:40:43 +0000 (10:40 +0000)]
[project @ 2000-04-27 10:40:43 by simonmar]
Further cleanups to the clean targets.  Don't recurse too much for
distclean and maintainer-clean.

24 years ago[project @ 2000-04-27 10:16:13 by simonmar]
simonmar [Thu, 27 Apr 2000 10:16:13 +0000 (10:16 +0000)]
[project @ 2000-04-27 10:16:13 by simonmar]
sort out the clean targets.

- veryclean has gone away (don't know where it came from in the first
  place)

- the clean targets are now

mostlyclean <= clean <= distclean <= maintainer-clean

24 years ago[project @ 2000-04-27 10:09:01 by simonmar]
simonmar [Thu, 27 Apr 2000 10:09:01 +0000 (10:09 +0000)]
[project @ 2000-04-27 10:09:01 by simonmar]
remove unused cruft

24 years ago[project @ 2000-04-26 17:33:43 by rrt]
rrt [Wed, 26 Apr 2000 17:33:43 +0000 (17:33 +0000)]
[project @ 2000-04-26 17:33:43 by rrt]
Corrected $(findstr to $(findstring

24 years ago[project @ 2000-04-26 17:27:00 by rrt]
rrt [Wed, 26 Apr 2000 17:27:00 +0000 (17:27 +0000)]
[project @ 2000-04-26 17:27:00 by rrt]
Changed 1900 to 2000. Previously this was the oldest bit not just of GHC
source, but any sort of source.

24 years ago[project @ 2000-04-26 17:16:21 by rrt]
rrt [Wed, 26 Apr 2000 17:16:21 +0000 (17:16 +0000)]
[project @ 2000-04-26 17:16:21 by rrt]
Gave a hint about where to find noarch RPMs.

24 years ago[project @ 2000-04-26 15:35:25 by simonmar]
simonmar [Wed, 26 Apr 2000 15:35:25 +0000 (15:35 +0000)]
[project @ 2000-04-26 15:35:25 by simonmar]
we were adding the include path twice, for some bizarre reason.

24 years ago[project @ 2000-04-26 13:50:27 by simonmar]
simonmar [Wed, 26 Apr 2000 13:50:27 +0000 (13:50 +0000)]
[project @ 2000-04-26 13:50:27 by simonmar]
The return value was being lost in PROFILING mode, because the
STOP_FRAME is two words instead of one.

24 years ago[project @ 2000-04-26 11:54:28 by simonmar]
simonmar [Wed, 26 Apr 2000 11:54:28 +0000 (11:54 +0000)]
[project @ 2000-04-26 11:54:28 by simonmar]
restore the two-space sanity checking code.

24 years ago[project @ 2000-04-26 10:54:25 by simonmar]
simonmar [Wed, 26 Apr 2000 10:54:25 +0000 (10:54 +0000)]
[project @ 2000-04-26 10:54:25 by simonmar]
tidy up conditionals a bit.

24 years ago[project @ 2000-04-26 10:43:23 by simonmar]
simonmar [Wed, 26 Apr 2000 10:43:23 +0000 (10:43 +0000)]
[project @ 2000-04-26 10:43:23 by simonmar]
Add Sven's qsort foreign export dynamic test.

24 years ago[project @ 2000-04-26 10:41:45 by simonmar]
simonmar [Wed, 26 Apr 2000 10:41:45 +0000 (10:41 +0000)]
[project @ 2000-04-26 10:41:45 by simonmar]
allow for per-program LD_OPTS.

24 years ago[project @ 2000-04-26 10:17:41 by simonmar]
simonmar [Wed, 26 Apr 2000 10:17:41 +0000 (10:17 +0000)]
[project @ 2000-04-26 10:17:41 by simonmar]
Give a more informative error message in rts_checkSchedStatus().

24 years ago[project @ 2000-04-26 10:03:28 by simonmar]
simonmar [Wed, 26 Apr 2000 10:03:28 +0000 (10:03 +0000)]
[project @ 2000-04-26 10:03:28 by simonmar]
Add uncaught exception test.

24 years ago[project @ 2000-04-26 09:44:18 by simonmar]
simonmar [Wed, 26 Apr 2000 09:44:38 +0000 (09:44 +0000)]
[project @ 2000-04-26 09:44:18 by simonmar]
raisezh_fast now handles uncaught exceptions cleanly.  The affected
thread is marked as Killed, and if it is a main thread then
rts_evalIO() will return ThreadKilled as it should.

24 years ago[project @ 2000-04-26 09:29:37 by simonmar]
simonmar [Wed, 26 Apr 2000 09:29:37 +0000 (09:29 +0000)]
[project @ 2000-04-26 09:29:37 by simonmar]
comment-only clarifications; Killed means "uncaught exception".

24 years ago[project @ 2000-04-26 09:28:18 by simonmar]
simonmar [Wed, 26 Apr 2000 09:28:18 +0000 (09:28 +0000)]
[project @ 2000-04-26 09:28:18 by simonmar]
note that a return status of Killed means "uncaught exception".

24 years ago[project @ 2000-04-25 17:47:42 by andy]
andy [Tue, 25 Apr 2000 17:47:43 +0000 (17:47 +0000)]
[project @ 2000-04-25 17:47:42 by andy]
Adding trivial entry counter.

24 years ago[project @ 2000-04-25 17:43:49 by andy]
andy [Tue, 25 Apr 2000 17:43:50 +0000 (17:43 +0000)]
[project @ 2000-04-25 17:43:49 by andy]
o Adding simple counter for number of enters
o Inc version number
o Adding the start of support for mdo
o Wibble

24 years ago[project @ 2000-04-25 17:40:44 by andy]
andy [Tue, 25 Apr 2000 17:40:45 +0000 (17:40 +0000)]
[project @ 2000-04-25 17:40:44 by andy]
Trying again to remove old version of prelude

24 years ago[project @ 2000-04-25 14:57:39 by simonmar]
simonmar [Tue, 25 Apr 2000 14:57:39 +0000 (14:57 +0000)]
[project @ 2000-04-25 14:57:39 by simonmar]
Fix bug in rts_apply when profiling.

This fixes Sven's foreign export dynamic/profiling bug.

24 years ago[project @ 2000-04-25 14:19:09 by simonmar]
simonmar [Tue, 25 Apr 2000 14:19:09 +0000 (14:19 +0000)]
[project @ 2000-04-25 14:19:09 by simonmar]
Fixes to commitBuffer and commitAndReleaseBuffer to maintain the
invariant that we never leave the handle buffer in a completely full
state.  This fixes the crashes seen in recent Sparc builds.

Found with help from:  Electric Fence &:-)

24 years ago[project @ 2000-04-25 11:30:53 by rrt]
rrt [Tue, 25 Apr 2000 11:30:53 +0000 (11:30 +0000)]
[project @ 2000-04-25 11:30:53 by rrt]
Allow tests to be omitted (OMITTED_RUNTESTS), so that tests which are OS-
specific can be omitted on other OSs.

24 years ago[project @ 2000-04-25 11:27:35 by rrt]
rrt [Tue, 25 Apr 2000 11:27:35 +0000 (11:27 +0000)]
[project @ 2000-04-25 11:27:35 by rrt]
Numerous tweaks to remove out-of-date constructs and make tests Windows-
friendly.

24 years ago[project @ 2000-04-25 10:09:11 by simonmar]
simonmar [Tue, 25 Apr 2000 10:09:11 +0000 (10:09 +0000)]
[project @ 2000-04-25 10:09:11 by simonmar]
fix bug in new -ofile stuff: we were missing a '.' between the tmp
file root and the suffix.

24 years ago[project @ 2000-04-24 22:05:08 by panne]
panne [Mon, 24 Apr 2000 22:05:08 +0000 (22:05 +0000)]
[project @ 2000-04-24 22:05:08 by panne]
Use get_itbl instead of direct access to info field in
removeIndirections. This "worked" only because the probability of
hitting an indirection-like closure by chance is 5:65531 on 32bit
platforms. :-) But HOpenGL once again managed to expose this bug...

24 years ago[project @ 2000-04-23 13:27:04 by chak]
chak [Sun, 23 Apr 2000 13:27:04 +0000 (13:27 +0000)]
[project @ 2000-04-23 13:27:04 by chak]
- revised for ghc 4.07; added suggestions from Pixel <pixel@mandrakesoft.com>
- added profiling package
  [these are named ghc-prof-<version>.<arch>.rpm]

24 years ago[project @ 2000-04-22 14:30:51 by panne]
panne [Sat, 22 Apr 2000 14:30:51 +0000 (14:30 +0000)]
[project @ 2000-04-22 14:30:51 by panne]
Don't use coercion RULES with litlits (e.g. int2Word ``42''), once
again found by *the* GHC test, HOpenGL + Quake level viewer. :-)

24 years ago[project @ 2000-04-21 18:09:30 by panne]
panne [Fri, 21 Apr 2000 18:09:30 +0000 (18:09 +0000)]
[project @ 2000-04-21 18:09:30 by panne]
Include Weak.h to remove a warning

24 years ago[project @ 2000-04-21 18:07:46 by panne]
panne [Fri, 21 Apr 2000 18:07:47 +0000 (18:07 +0000)]
[project @ 2000-04-21 18:07:46 by panne]
I've bitten the bullet and cleaned up the mess around Readline. There
are actually questions to answer by autoconf:

   * Are the headers available for compilation?
   * Are the libraries (and which) available for linking?

Note that in the second case it should be the libraries on the machine
which GHC is *installed* on, not the ones on which it was compiled.
GhcLibsWithReadline is now automagically set if the headers are found,
but this can still be overridden.

24 years ago[project @ 2000-04-21 18:05:19 by panne]
panne [Fri, 21 Apr 2000 18:05:20 +0000 (18:05 +0000)]
[project @ 2000-04-21 18:05:19 by panne]
/tmp/msg

24 years ago[project @ 2000-04-21 15:59:13 by panne]
panne [Fri, 21 Apr 2000 15:59:13 +0000 (15:59 +0000)]
[project @ 2000-04-21 15:59:13 by panne]
Bumped the maximum size of tuples from 37 to 62. If this is not
wanted, use PrelTup_HC_OPTS+=-DNO_LARGE_TUPLES in build.mk.

24 years ago[project @ 2000-04-21 15:48:38 by panne]
panne [Fri, 21 Apr 2000 15:48:38 +0000 (15:48 +0000)]
[project @ 2000-04-21 15:48:38 by panne]
Further steps towards an empty build.mk:
   * GHC is now built with -O by default
   * hslibs/tools now use GhcLibToolsHcOpts, again -O by default

24 years ago[project @ 2000-04-21 15:07:45 by simonpj]
simonpj [Fri, 21 Apr 2000 15:07:45 +0000 (15:07 +0000)]
[project @ 2000-04-21 15:07:45 by simonpj]
Add loop test

24 years ago[project @ 2000-04-21 14:40:48 by simonpj]
simonpj [Fri, 21 Apr 2000 14:40:49 +0000 (14:40 +0000)]
[project @ 2000-04-21 14:40:48 by simonpj]
Remove a way to make the simplifier go into an
infinite loop.   This has been there for some weeks;
and George's UniForm tickled it.  I'm amazed nothing
else has done so.  I'll add a test.

The bad case happened when you go

let xs = 1:xs
in
foldr k z xs

Then we kept firing the foldr/cons rule.

Solution: we don't attach an unfolding *at all* to
loop breakers (Simplify.completeBinding)

24 years ago[project @ 2000-04-21 14:35:46 by simonpj]
simonpj [Fri, 21 Apr 2000 14:35:46 +0000 (14:35 +0000)]
[project @ 2000-04-21 14:35:46 by simonpj]
First I forgot to commit all the files for the
Java support.  Then I spoke the wrong CVS command.
This commit just adds the log message!

--------------------------
Add support for Java generation, written in
a lightning day with Erik Meijer

ghc -J Foo.hs

will do the business, generating Foo.java

The code is in a new directory, javaGen/, so
you'll need to cvs update -d.

I've reorganised main/CodeOutput quite a bit; it
is now much much tidier, and will accommodate new
languages quite easily.

I've also fiddled with the flags that communicate
between the driver and hsc.

GONE: -S=  -C=

NEW: -olang=xxx output language xxx
xxx can be: C, asm, java

-ofile=xxx put the output code in file xxx

BEWARE that I might have broken some of the more
cryptic stuff in ghc.lprl.

Simon

24 years ago[project @ 2000-04-21 12:59:13 by simonpj]
simonpj [Fri, 21 Apr 2000 12:59:13 +0000 (12:59 +0000)]
[project @ 2000-04-21 12:59:13 by simonpj]
And here is the commit for the driver

24 years ago[project @ 2000-04-21 12:57:54 by simonpj]
simonpj [Fri, 21 Apr 2000 12:57:54 +0000 (12:57 +0000)]
[project @ 2000-04-21 12:57:54 by simonpj]
/home/simonpj/tmp/msg

24 years ago[project @ 2000-04-20 16:45:16 by simonpj]
simonpj [Thu, 20 Apr 2000 16:45:16 +0000 (16:45 +0000)]
[project @ 2000-04-20 16:45:16 by simonpj]
Add support for Java generation, written in
a lightning day with Erik Meijer

ghc -J Foo.hs

will do the business, generating Foo.java

The code is in a new directory, javaGen/, so
you'll need to cvs update -d.

I've reorganised main/CodeOutput quite a bit; it
is now much much tidier, and will accommodate new
languages quite easily.

I've also fiddled with the flags that communicate
between the driver and hsc.

GONE: -S=  -C=

NEW: -olang=xxx output language xxx
xxx can be: C, asm, java

-ofile=xxx put the output code in file xxx

BEWARE that I might have broken some of the more
cryptic stuff in ghc.lprl.

Simon

24 years ago[project @ 2000-04-20 16:31:47 by simonpj]
simonpj [Thu, 20 Apr 2000 16:31:47 +0000 (16:31 +0000)]
[project @ 2000-04-20 16:31:47 by simonpj]
Finish TcClassDecl

24 years ago[project @ 2000-04-20 16:28:39 by panne]
panne [Thu, 20 Apr 2000 16:28:39 +0000 (16:28 +0000)]
[project @ 2000-04-20 16:28:39 by panne]
To avoid potential collisions between different modules, prefix the
names of the C stubs with the module name.

24 years ago[project @ 2000-04-20 16:22:46 by panne]
panne [Thu, 20 Apr 2000 16:22:46 +0000 (16:22 +0000)]
[project @ 2000-04-20 16:22:46 by panne]
I'm not sure if the last commit of MkId.lhs was incorrect or
incomplete. Anyway, to build hsc I've commented out the now
superfluous parameter for mkDictSelId (marked with "SUP:???").

24 years ago[project @ 2000-04-20 15:49:21 by panne]
panne [Thu, 20 Apr 2000 15:49:21 +0000 (15:49 +0000)]
[project @ 2000-04-20 15:49:21 by panne]
Package util now depends on package posix, too.
NOTE: To get Readline up and working, -lreadline and one of
-lncurses/-lcurses/-ltermcap has to be inserted, too, but this has to
be autoconf-ed somehow (later...)

24 years ago[project @ 2000-04-20 15:48:20 by simonmar]
simonmar [Thu, 20 Apr 2000 15:48:20 +0000 (15:48 +0000)]
[project @ 2000-04-20 15:48:20 by simonmar]
Update this file to the one on the web site, and add Simon's latest
notes about using the cvs- lists for bug reports about the cvs
sources.

24 years ago[project @ 2000-04-20 15:34:17 by simonmar]
simonmar [Thu, 20 Apr 2000 15:34:17 +0000 (15:34 +0000)]
[project @ 2000-04-20 15:34:17 by simonmar]
Print out cost centre names as C strings (using proper escaping for
special characters etc.).

24 years ago[project @ 2000-04-20 15:22:54 by panne]
panne [Thu, 20 Apr 2000 15:22:54 +0000 (15:22 +0000)]
[project @ 2000-04-20 15:22:54 by panne]
Improved rules for stubs. Not perfect yet, but better than before.

24 years ago[project @ 2000-04-20 15:18:58 by simonmar]
simonmar [Thu, 20 Apr 2000 15:18:58 +0000 (15:18 +0000)]
[project @ 2000-04-20 15:18:58 by simonmar]
add pprStringInCStyle :: String -> SDoc
(we already have a FAST_STRING version but not one for plain Strings).

24 years ago[project @ 2000-04-20 13:20:31 by simonmar]
simonmar [Thu, 20 Apr 2000 13:20:31 +0000 (13:20 +0000)]
[project @ 2000-04-20 13:20:31 by simonmar]
Fix for initModules when unregisterised.