vsc
ba9876268f
threads, clean signals, and much more...
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@957 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-01-23 02:23:51 +00:00
vsc
e7ab7b4c8a
fix non-tabling version
...
fix compilation with THREADS
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@952 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-12-18 17:23:22 +00:00
vsc
1aa1610e83
fix duplicated goal in meta-call execute0
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@944 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-12-02 18:57:48 +00:00
vsc
678ff0df82
many fixes
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@940 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-12-01 17:27:42 +00:00
vsc
90829edc9e
new infrastructure for static clauses:
...
they are now valid references
they don't have the try_me block
jump_on_var now uses expand
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@936 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-11-26 18:36:35 +00:00
vsc
5e4816eb5a
new heap allocation code
...
new atom table growth code and hash algorithm
more fixes for new indexing algorithm
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@905 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-10-28 01:16:03 +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
b936201465
improvements to indexing: allow user control and fix bugs in sorting
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@836 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-06-06 11:54:02 +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
c8c4c76e01
always pass B to meta-calls.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@755 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-01-30 19:34:26 +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
1db1bb484e
make lcc happy.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@717 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-12-06 20:03:26 +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
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
d21021da0d
get rid of UnCutable
...
a:(a(X),b(X)) should be the same as a:a(X), a:b(X). Use PushModPred to
force that.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@642 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-18 13:54:53 +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
935665ec92
fix ^c abort for PCs: registers were not being reset properly.
...
fix error message in abort.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@628 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-08 14:32:42 +00:00
vsc
e606c427fe
move to UserMode when entering absmi.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@614 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-03 13:42:23 +00:00
vsc
8ba604d9b3
count profiling entries from meta-calls, even if that means a little more
...
work.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@593 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-09-17 00:02:39 +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
c27b23f3a5
miscellaneous fixes
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@556 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-07-17 20:25:30 +00:00
vsc
778d99255f
call_with_args should check if first arg is atom
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@553 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-06-26 05:10:17 +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
b58dbff727
fix restore
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@498 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-28 16:26:00 +00:00
vsc
bfca528833
more fixes on modules
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@479 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-20 14:19:03 +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
13cb0c1e13
syntax_error now throws error;
...
fix handling of error if no top-level handler is available
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@440 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-04-11 15:31:58 +00:00
vsc
3ef0b143b0
fix debugging in the presence of goal_expansion
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@432 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-04-06 05:33:44 +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
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
20c6b50a0d
fix error after error and error within error
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@344 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-02-01 15:48:17 +00:00
vsc
f9ff6498d8
more simplifications on the catch and throw mechanism after
...
having failed the ISO testset.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@341 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-30 03:49:50 +00:00
vsc
af7cb4cd93
more fixes for catch and throw
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@340 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-30 02:20:44 +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
5e938b92c4
new version of throw using Bart's idea
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@327 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-24 23:55:34 +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
698f6d2c04
fix call_with_args(a, 1, 2, 3, 4, 5, 6, 7).
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@258 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-03 02:49:33 +00:00
vsc
e34262878d
fix ! in debugger in source mode.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@240 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-12-21 05:41:01 +00:00
vsc
47b1ef2b63
fix call to debugger with wrong module
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@231 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-12-14 19:03:29 +00:00
vsc
e5bd31a385
fix call_with_args
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@230 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-12-13 17:51:26 +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
43550a67a8
debugger fixes
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@218 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-12-07 20:27:03 +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
5ab74e898a
small fixes for error handling
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@185 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-11-19 03:36:51 +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
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
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
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
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
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
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
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
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
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
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
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