Commit Graph

6 Commits

Author SHA1 Message Date
Fergus Henderson
3fc5389b53 Add copyright notices.
runtime/*:
	Add copyright notices.
1995-03-30 21:57:11 +00:00
Fergus Henderson
f3b01045f0 Define Integer' to be a signed type the same size as Word'.
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'.
1995-01-14 16:28:53 +00:00
Zoltan Somogyi
7e1123553a Reorganized header files: each system module now has its own header file.
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}.
1994-07-12 10:41:11 +00:00
Fergus Henderson
f3f7cce60b ANSIfy everything: use const, use assert(), use <stdlib.h>.
Replace uses of "Cast" with "void *".
In list.[ch], use a union instead of ugly non-portable casts.
1993-12-18 04:11:41 +00:00
Zoltan Somogyi
058036588b updated macros to conform to paper 1993-12-13 11:41:02 +00:00
Zoltan Somogyi
f5e3ecb098 adding first draft of interface code 1993-12-01 05:55:51 +00:00