vsc
c327cafdaa
fix depth_limit in call/1
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@170 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-10-30 16:59:16 +00:00
vsc
458a0a857f
New metacall mechanism
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@169 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-10-30 16:42:05 +00:00
vsc
4688551043
faster access to predicate code from functor
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@167 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-10-03 13:39:16 +00:00
vsc
2eb822797e
compile under sun's cc.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@165 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-09-24 18:07:16 +00:00
vsc
34010ba45a
should be TrailTop, nao LCL0
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@164 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-09-24 14:35:58 +00:00
vsc
af370a73e3
fixes to allow more memory: disable gc after crashing with MBIT, start
...
from 0x09 instead of 0x10.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@163 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-09-24 14:06:06 +00:00
vsc
0258eb0aab
don't try doing gc if stacks have overflowed into RBIT
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@162 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-09-24 13:47:30 +00:00
vsc
f928b9452b
another try at improving ^c with readline
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@160 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-09-21 14:22:32 +00:00
vsc
cbd499b8df
bignum should always reset pre_alloc_base and recover Heap space
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@158 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-09-18 15:14:11 +00:00
vsc
8f72bc3c91
fix debugging
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@157 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-09-12 15:52:28 +00:00
vsc
8404e8eaff
fix SICStus compatibility bugs in sockets
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@145 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-09-03 16:05:59 +00:00
vsc
41cc6c0f4e
minor changes
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@142 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-08-27 14:44:07 +00:00
vsc
5390e2e92f
fix bad declaration of readline_jmpbuf
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@141 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-08-13 22:52:33 +00:00
vsc
5d5ddd864e
avoid unnecessary flushing in readline
...
fixes to manual
make flush work for readline
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@140 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-08-13 09:19:00 +00:00
vsc
7d73127461
make Yap run under Emacs/WIN32
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@135 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-08-09 14:00:51 +00:00
vsc
8fd1bc92f3
support trace
...
fix for ^c in readline
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@133 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-08-08 21:17:27 +00:00
vsc
eade18026c
fix fflush
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@125 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-07-16 15:26:14 +00:00
stasinos
3a752aca82
a CELL is not printable as %d in 64bit machines
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@119 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-07-06 13:15:16 +00:00
vsc
6e241c6c8b
new statistics.
...
better precision when writing floats.
use_module should check file modificiation time.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@118 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-07-05 20:23:21 +00:00
vsc
27526bcb0d
improve support for cross-compilation with simplesimscalar
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@117 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-07-05 16:14:15 +00:00
uid49918
1578e68ec3
fix bugs in tabling
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@116 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-07-04 16:48:54 +00:00
vsc
3de3c1b7d2
improve system library.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@113 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-29 19:30:25 +00:00
vsc
78129e932f
fix bug in instruction compression->glist_val <> get_list+unify_local
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@111 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-29 12:45:18 +00:00
vsc
a18e3790d0
make sure I restore H and TR before I do SetDBForThrow
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@110 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-27 17:24:27 +00:00
vsc
1d5e4c4956
save H for alpha.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@109 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-27 17:12:44 +00:00
vsc
22211cb453
fix abort in Alpha
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@108 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-27 15:46:26 +00:00
vsc
fa40e9e92f
in Abort: don't check args for empty string
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@107 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-27 15:36:38 +00:00
vsc
efd998524f
More interrupt handling cleanups!
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@104 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-27 13:22:30 +00:00
vsc
42204357ec
Fix c-stack overflow for very deep nested terms.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@102 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-27 12:46:35 +00:00
vsc
4c75fbc022
don't need to throw catch.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@100 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-22 20:26:55 +00:00
vsc
bf661fcdd6
get rid of has_tabling
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@99 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-22 19:50:26 +00:00
vsc
f22f7434c7
fixes to?\012handle interrupts ^C in Windows.
...
Improvements to configure scripts for WIN32 configurations.
--with-readline= option for configure
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@96 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-22 17:53:36 +00:00
vsc
c3e7f600d5
Yap would get order of variables in terms wrong.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@95 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-19 17:51:07 +00:00
vsc
5a39daa400
In ISO term order, floats are always less than integers.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@93 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-19 17:34:27 +00:00
vsc
7d50fd267d
parser should parse +inf,-inf,+nan,-nan as floating point numbers
...
write should write inf as +inf and nan as +nan
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@92 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-19 16:31:59 +00:00
vsc
54e9dc271d
fix == at top-level
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@91 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-18 18:33:20 +00:00
vsc
792d836ee6
cleanup error messages in functor/3
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@90 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-18 18:31:19 +00:00
vsc
d9edb0d992
fix HBREG mess
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@89 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-18 18:24:00 +00:00
vsc
e56a11ce3c
fix debugging messages and bad comparison
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@88 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-18 18:23:14 +00:00
stasinos
c6e0d82d0b
fixed inconsistency between between the two declarations of TracePutchar()
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@87 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-13 17:52:33 +00:00
stasinos
93f9f77df8
fix a declaration-definition inconsistency in YapCloseAllOpenStreams() and an unreachable code bug in YapOpenStream()
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@86 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-13 17:18:38 +00:00
vsc
c9c8aeb3cc
Improve readline code:
...
don't flush if we change output stream;
use readline from interrupt handler.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@85 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-12 17:25:28 +00:00
vsc
474be299f4
always send debugging messages to stderr.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@84 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-12 16:31:09 +00:00
vsc
96ae69e8d6
missing break in ~n option for format.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@79 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-11 18:42:11 +00:00
vsc
61c322b9fa
fix && instead of &
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@78 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-11 17:47:02 +00:00
vsc
0164f32c36
support recent readlines.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@77 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-11 17:40:16 +00:00
vsc
a0debea045
get rid of pesky debugging message
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@76 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-11 15:15:17 +00:00
vsc
55aa368d05
support for configure 2.5
...
recover memory in catch/throw.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@75 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-11 15:12:07 +00:00
vsc
6e2ccc4cf4
fix big ints in gc
...
recount trail pointers that were reset in the previous step
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@74 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-11 15:09:36 +00:00
vsc
e8b19c99c1
Partial update of tabling/SBA code to new timestamp
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@73 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-08 20:23:38 +00:00
vsc
136a4d4a67
fix divide by zero error on debugging message if trail was empty
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@71 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-08 19:33:16 +00:00
vsc
835f315727
access_array_element is unsafe
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@70 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-08 19:22:35 +00:00
vsc
97d882c1a7
use arrays to implement catch and throw instead of record
...
cleanup queues at top-level and at catch-throw.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@69 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-08 19:10:43 +00:00
lfcastro
08ebcf94be
* the previous typo correction seemed to be reversed, so...
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@68 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-08 18:21:35 +00:00
lfcastro
6cc04e235b
* fixed a typo in PutAtt (timestmp -> timestamp)
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@67 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-08 18:16:07 +00:00
vsc
95a113aac9
trail_ref cleanup
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@64 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-08 14:52:54 +00:00
vsc
be02a4f6ab
get rid of unnecessary casts
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@63 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-08 13:39:07 +00:00
vsc
bced653577
fix for ~NN
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@61 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-08 13:38:07 +00:00
vsc
f733ea5bdb
! in call((a(X),!)) would not cut a(X)
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@59 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-07 16:58:06 +00:00
vsc
38247e38fc
cleanup of CLPQR and CHR;
...
simplification of module handling;
new timestamp implementation
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@52 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-06 19:10:51 +00:00
vsc
82438c1d6f
fixes in modules
...
system support for WIN32 (first try).
small fixes.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@45 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-05-28 19:54:53 +00:00
vsc
27e367f0a5
fix X is ceiling(E).
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@44 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-05-25 20:08:38 +00:00
vsc
a47ba033b2
$stream as a single argument.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@43 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-05-24 18:02:01 +00:00
vsc
593f7ee64f
small bug fixes and documentation for extra C-functions.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@42 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-05-24 15:26:41 +00:00
vsc
c0ef937614
fix datime/1, system/2 and declaration for p_stream.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@40 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-05-22 20:41:52 +00:00
vsc
59fdfadfa9
new $stream(T) checks if a term is a stream,
...
so that I don't have an excuse to call current_stream(_,_,S) with S
something not a stream.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@39 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-05-22 16:14:30 +00:00
vsc
5c0d82b07d
fix debugging flags
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@38 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-05-22 12:37:23 +00:00
vsc
8dcee4415b
library(system) plus several new support builtins
...
much improved garbage collector
improvements to compiler
yaptab compiles again
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@34 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-05-21 20:00:05 +00:00
vsc
3cde0b23bb
fixes to compilation of functor and ASP calculation for gc.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@31 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-05-08 20:39:01 +00:00
vsc
bac5432950
garbage collecting fixes
...
compile trues at the end of body
fix call_residue/2 so that constraints cannot escape (yet again).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@30 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-05-07 19:56:02 +00:00
vsc
e98f8d7106
make gc work outside debugging
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@28 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-05-07 14:01:09 +00:00
vsc
171b6043a5
port to OS/X
...
fix shunting trail entries.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@26 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-05-07 13:53:19 +00:00
vsc
3e0d96844f
get alloc.c right for AUX.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@25 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-05-03 18:48:06 +00:00
vsc
6a8e087730
fix alloc.c
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@24 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-05-03 17:23:30 +00:00
vsc
f48f399540
memory allocation patches for Apple's OS/X.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@23 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-05-03 17:13:18 +00:00
vsc
18ff961273
get rid of random quicksort
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@22 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-05-02 17:57:42 +00:00
vsc
245aeff128
new gc algorithm for deterministic programs plus fixes on ASP calculation.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@21 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-05-02 14:19:10 +00:00
vsc
1a8009654f
fixes for modules, buffering, YP_*, live vars for gc, and nth(0).
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@20 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-04-27 16:02:43 +00:00
vsc
70dda6cc70
WIN32 fixes
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@19 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-04-26 17:53:37 +00:00
vsc
47e595a624
small fixes
...
gc improvements
WIN32 library fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@18 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-04-26 14:44:43 +00:00
vsc
6f3d55651c
handle all opcodes in restore/1 and fix ord_union/2 bug.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@17 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-04-25 20:31:00 +00:00
vsc
3a3a0ff465
- Fix extension end marker database bug.
...
- Fix statistics/0.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@16 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-04-25 13:27:14 +00:00
vsc
5bd09d8408
if/3
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@15 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-04-24 16:40:11 +00:00
vsc
98283101bb
support for inlined execution of functor/3 and arg/3/3/3
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@14 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-04-23 20:41:58 +00:00
vsc
3f5f0c6d4b
Inline arg
...
IO fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@12 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-04-20 15:48:04 +00:00
vsc
c5c775f933
- early_reset and simple_shunting on
...
- fix non early_reset
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@10 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-04-18 12:24:45 +00:00
vsc
71c18ef912
new predicates atom_concat and list_concat
...
prolog_flag(version,X).
0'\ escape sequences
first try at profiling early reset (garbage collector is broken now).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@9 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-04-17 21:07:41 +00:00
vsc
da817ebbe5
First patches for 4.3.19:
...
new Makefiles for documentation;
user_{input,output,error} streams are now aliases;
restore YapLibDir
support $(DESTDIR)
fix call_residue/2
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@8 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-04-16 16:41:04 +00:00
vsc
e5f4633c39
This commit was generated by cvs2svn to compensate for changes in r4,
...
which included commits to RCS files with non-trunk default branches.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@5 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-04-09 19:54:03 +00:00