imp.h:
Define `Integer' to be a signed type the same size as `Word'.
imp.h, io.mod:
Replace incr_hp/1 macro with incr_hp/2.
list.c, std.h:
Various minor cleanups.
tags.h:
Replace all the casts to `unsigned' and `uint' with cases
to `Word'.
Some of these are included in imp.h, some aren't; the criterion is whether
automatically generated modules need the information in them.
Created a system whereby Mercury programs can be automatically compiled.
One part is the Mercury cakefile in examples (and the Cakefile that uses it),
which defines two targets for each Mercury program. These are e.g. nrev_fast
and nrev_debug for nrev.nl. As usual with System, the file Conf has one
line for each program in the directory; the file Entry likewise contains
the default entry point. Mod2init now inserts the default entry point
into the xxx_init.c file, and test_harness picks it up from there.
The other part is the creation and installation of the files and tools
referred to by the Mercury cakefile. These include scripts in /usr/contrib/bin,
the system modules in /usr/contrib/lib/mercury/modules, the system header
files in /usr/contrib/lib/mercury/inc, and two libraries, lib{fast,debug}mer.a
in each of /usr/contrib/lib/mercury/{sun4,sgi}.