Fergus Henderson
f918d5de34
Fixed various minor bugs (missing casts, incompatibilities between
...
the .mod files and the portable implementation.)
Improved the mod2c process slightly (The .c files are readonly and
have a header "this was generated automatically - do not edit".)
1993-10-21 09:34:49 +00:00
Fergus Henderson
4c914b1c7d
Got the portable (non-gcc) implementation of sys.c working.
...
Converted the .c files into corresponding .mod files, using
the gnuc2mod script; the .c files are now generated automatically by
mod2gnuc or mod2c.
Also modified sys.c so that "Prolog calls C calls Prolog" will work,
and to get a rough check on how much space is used for local vars.
Fixed silly typo I had introduced into imp.h.
1993-10-20 17:02:44 +00:00
Fergus Henderson
740044f94e
Fix imp.h so that it's compatible with colors.c again.
1993-10-20 01:25:51 +00:00
Fergus Henderson
6da9f790ce
Added #ifndef guards to the header files.
1993-10-19 23:32:20 +00:00
Fergus Henderson
28ad1217e9
Catch GOTO(NULL), to make debugging easier.
1993-10-19 23:30:50 +00:00
Fergus Henderson
3eb8435b01
Fix stupid mistake.
1993-10-18 14:51:31 +00:00
Fergus Henderson
23ef923718
Reduce the dependencies on gcc: a first step towards making
...
it work with standard C compilers.
1993-10-18 14:37:23 +00:00
Zoltan Somogyi
a3ccd3d8a5
modifications needed for intelligent backtracking example
1993-10-17 15:36:30 +00:00
Zoltan Somogyi
e4dd587972
changed set of regs printed for color_1
1993-10-17 12:16:31 +00:00
Zoltan Somogyi
0555a9794e
added colors example to test intelligent backtracking
...
added printframe and debugframe, like debugregs except show cpvars too
did some cleanup
1993-10-17 12:13:04 +00:00
Fergus Henderson
cfd0831f9e
Reorganized the way we define the virtual registers.
1993-10-15 15:37:14 +00:00
Fergus Henderson
39c8d8fbe8
Reorganized the way we define the virtual registers.
...
Reorganized the register contents table for debugregs().
Cleaned up the code a bit.
1993-10-15 15:36:47 +00:00
Zoltan Somogyi
142753e4e7
reorganized imp.h
...
fixed negation code
added intelligent.nl
1993-10-15 08:40:07 +00:00
Zoltan Somogyi
e4f1b65b9f
finished adapting files to 4 arg makeentry
...
added tailcall with debugging support and used it several places
1993-10-14 07:37:52 +00:00
Fergus Henderson
2d62d129b3
Added negation example.
1993-10-14 06:27:57 +00:00
Fergus Henderson
71c6bbcbf7
Cleaned things up a bit; it now compiles cleanly with -ansi -Wall -Wetc.
1993-10-14 05:32:51 +00:00
Zoltan Somogyi
3301e642f6
Added the Cakefile and CFLAGS file to the CVS archive.
1993-10-14 04:04:38 +00:00
Zoltan Somogyi
09ed3bfc51
Added `reclaim' points - a light-weight choice point used
...
to reclaim heap space.
1993-10-14 04:01:08 +00:00
Zoltan Somogyi
782998128d
initial creation
1993-10-13 23:58:05 +00:00