vsc
521e70e9ab
more fixes for new indexing code.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@893 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-10-14 00:53:10 +00:00
vsc
920d33a1d8
oops, check stack at deallocate even without COROUTINING
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@888 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-10-06 14:33:48 +00:00
vsc
507d4a9951
More improvements on indexing code
...
fix on growheap continuing to cut_e
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@880 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-10-02 12:59:05 +00:00
vsc
f5931c5c0e
wake up before cut_e. Still to do: wakeup before cut_t and cut.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@878 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-09-26 14:30:59 +00:00
vsc
4e1899be78
typos ans small glitches from Christian
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@877 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-09-25 00:48:04 +00:00
vsc
99cfccfaf0
call garbage collection at every proceed.
...
don't try to expand indices on static predicates.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@876 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-09-24 23:53:48 +00:00
vsc
1f2fb8284a
Two fixes:
...
GMP should not do error handling itself, as its execution env is
not reliable.
allocate should check for space.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@875 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-09-24 14:51:42 +00:00
vsc
3e17f53c28
more fixes to new indexing code
...
a few fixes to functor
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@872 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-09-23 02:19:37 +00:00
vsc
98578b16dc
more fixes for indexing code
...
stable stuff
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@867 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-09-15 01:25:29 +00:00
vsc
17ecf0dc14
continue big commit
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@863 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-08-27 13:37:10 +00:00
vsc
3831eeb927
fix \= on mavars.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@858 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-08-23 19:26:08 +00:00
vsc
bd383b7e3f
more fixes
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@827 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-05-19 13:04:09 +00:00
vsc
52b61e45ed
fix meta-call handliong of : declarations
...
get rid of execute_within, we've got enough confusion around already.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@825 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-05-02 14:37:11 +00:00
vsc
d290885f8f
new indexing algorithm
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@822 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-04-30 17:46:05 +00:00
vsc
601f91f653
fix call to garbage_collection from within assembly meta-calls
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@819 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-04-30 17:14:10 +00:00
vsc
1709fbded4
call the garbage collector properly.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@783 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-02-17 10:36:40 +00:00
vsc
cf86499728
always make shadow copy of A1 before starting new procedure, even if you
...
are doing a meta-call next!
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@776 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-02-14 11:41:05 +00:00
vsc
8c2af87600
check for modules everywhere in meta-calls.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@768 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-02-12 13:19:05 +00:00
vsc
6bb873d03e
more meta-call fixes
...
fix module expansion for builtins
fix path predicates.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@758 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-02-07 12:05:39 +00:00
vsc
d3b8ad429d
In optimised code for (A,B), tail should set E[B]
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@754 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-01-30 19:00:08 +00:00
vsc
533365611c
fix meta_calls with modules inside comma
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@753 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-01-30 18:00:26 +00:00
vsc
f5dad3ac1f
don't try to do module expansion if module borders are not crossed.
...
expand on-line depth_call and once.
improve write_x_loc
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@752 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-01-30 16:27:45 +00:00
vsc
1369dfa410
new meta-call scheme.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@751 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-01-29 14:47:17 +00:00
vsc
e2edae71c7
cleanup: typecast to yamop * instead of CODEADDR wherever possible.
...
Fix integer(233333833838383) fails bug (Roberto Bagnara).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@733 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-12-27 16:53:09 +00:00
vsc
d7f80ea1ad
Stasinos noticed that _YAP_ breaks C standard: use Yap_ instead.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@691 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-18 18:18:05 +00:00
vsc
81716ef31f
WIN32 support updates and some fixes.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@685 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-12 19:53:52 +00:00
vsc
7b2c4dc6ff
all global symbols should now start with _YAP
...
global functions should not be called from within file (bug in
binutils/WIN32).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@675 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-11 17:38:10 +00:00
vsc
a721ad3e27
more of the same module fixes.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@643 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-18 14:52:58 +00:00
vsc
4a71cbda80
fix retry_head to work correctly if the argument is dereferenced.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@638 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-17 00:48:52 +00:00
vsc
153b2cb2a3
YAP would break when gc was called from portray:
...
always save arguments before calling plwrite with possible portray
only do it for portray because plwrite may be called from unsafe environments
make Slot machinery mainstream.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@637 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-17 00:05:29 +00:00
vsc
523fae9544
stack overflow patches:
...
process overflows as high-level as possible;
introduce overflow related errors
ExpandWorkSpace should never call Error: use ErrorMessage instead,
format_putc should never release memory, causes memory corruption,
Linux does not like MAP_FIXED, it can overwrite the actual program
code.
condor: twick configure to disable readline with condor.
----------------------------------------------------------------------
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@632 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-10 05:58:49 +00:00
vsc
21aab28a59
new error handlong mechanism
...
new YAP_ foreign interface
fix unbound_first_arg in call_with_args
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@582 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-09-09 17:40:12 +00:00
vsc
708437b794
Further updates to support call_counters
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@581 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-09-03 20:14:13 +00:00
vsc
94e9529128
first cut at call counter.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@580 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-09-03 14:28:09 +00:00
vsc
944d2e8aed
fixes for YapRunGoal
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@541 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-06-18 02:27:53 +00:00
vsc
60ae7a9ce5
make gc much more aggressive at recovering db space.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@529 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-06-12 16:48:35 +00:00
vsc
0f027df00c
fix backtrackable C-interface (patch from Christophe Billard).
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@526 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-06-11 05:43:01 +00:00
vsc
02a3bcec93
fix unreachable code
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@503 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-28 17:27:27 +00:00
vsc
c9be907884
fix bug in wakeup when in the middle of unifying a list (found by Bart Demoen).
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@486 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-24 00:13:15 +00:00
vsc
3b3a19f5d9
more stuff for foreign interface.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@474 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-16 20:33:00 +00:00
vsc
86e4a99d73
changes to support extended foreign interface (include slots, new exception
...
handling for C-code, and several fixes to calling foreign code).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@470 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-14 18:24:34 +00:00
vsc
4fc1a2ff42
put tabling back to work
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@460 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-03 15:30:36 +00:00
vsc
d3942df58c
it looks like mod for execute_in_mod may be instantiated.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@446 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-04-19 14:41:56 +00:00
vsc
d8384f4bf3
fix bad code for unify_float and friends
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@437 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-04-09 16:53:00 +00:00
vsc
bd654f1e18
fix overflow when copying terms with attributes
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@430 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-04-06 03:54:18 +00:00
vsc
ff0b60d7a7
fix error handling from within recursive invocations of emulator
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@427 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-04-03 19:33:38 +00:00
vsc
5503ea22f3
try to decrease HeapTop if recovering space on top of Heap;
...
change overflow code to be less relying on non-decreasing Heap.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@405 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-03-08 06:33:16 +00:00
vsc
20444412f5
gc in dexecute should not use current Y, instead if should look at
...
parent's Y.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@393 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-02-28 18:25:55 +00:00
vsc
c771c14b0f
disable cache when checking whether static was in use.
...
heap overflow while storing db term.
trust_fail should be preceeded by an sla.
make sla point to current pred, get rid of current pred in bitmap.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@374 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-02-26 15:51:54 +00:00
vsc
777817f8db
fixes for signal handling
...
throw permission error on consulting bad files
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@358 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-02-12 18:24:21 +00:00
vsc
293fdf9061
VC++ changes
...
use clock in WIN98
fix manual
get rid of ISO X/0
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@347 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-02-04 16:12:54 +00:00
vsc
28128ed29c
make Error Handler call throw in C, instead of doing messy
...
Prolog code.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@335 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-29 05:37:31 +00:00
vsc
35ba78008b
fix bad memory information in Interrupt Handler
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@308 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-17 22:12:09 +00:00
vsc
9966ff57c6
fix overflow fixes for p_execute in absmi.c
...
execute_last was not decreasing depth (thanks to Camacho for finding out).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@299 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-16 05:32:17 +00:00
vsc
4c63dbee3d
in execute instructions, stack checking should be performed before
...
cleaning the arguments
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@298 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-16 05:10:30 +00:00
vsc
4414acbdf9
fix unix environ
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@293 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-14 22:26:53 +00:00
vsc
5997e5a109
new catch and throw mechanism (first try).
...
hide built-in predicates that should not be seen in trace mode
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@275 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-07 06:28:04 +00:00
vsc
2b78d7ce14
pesky ^C and abort fixes (I hope)
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@236 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-12-18 22:01:26 +00:00
vsc
7b77c87b94
store constraints in DB
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@233 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-12-17 18:31:11 +00:00
vsc
2e2ddf394b
fix ! from deterministic goals cutting across meta-call
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@225 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-12-11 16:40:51 +00:00
vsc
f46101a01a
fix module change over meta-calls (partially)
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@216 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-12-07 16:32:36 +00:00
vsc
5682ce7622
fix user c predicates
...
fix Makefiles to handle case where so is o.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@183 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-11-18 21:00:57 +00:00
vsc
b289d9ac9c
new module system. BEWARE! BEWARE! BEWARE!
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@177 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-11-15 00:01:43 +00:00
vsc
a628251951
further optimisations to execute a,b.
...
cleanups.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@176 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-10-31 20:16:48 +00:00
vsc
4fad5b3f3e
fixes for RISC machines
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@174 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-10-30 23:07:58 +00:00
vsc
a543874856
p_execute_within
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@172 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-10-30 20:35:19 +00:00
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
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
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
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
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
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
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
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
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
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
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
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