Commit Graph

151 Commits

Author SHA1 Message Date
vsc
40e84ca034 fix halt/0 and halt/1
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1051 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-04-27 15:14:38 +00:00
vsc
ddc7b3a0bc a few more fixes to support timing and to improve message queues.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1012 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-03-02 16:44:58 +00:00
vsc
31b6bedf67 modules stuff fixes (yes, again).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@975 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-02-10 01:07:46 +00:00
vsc
cfd3683891 fix integer as DBRef
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@971 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-02-09 14:19:05 +00:00
vsc
9b84cdfe5d improved support for threads and code area allocation using malloc
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@965 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-02-05 16:57:02 +00:00
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
1516c032e9 keep key_statistics/3 for compatibility with previous version.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@947 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-12-04 18:11:53 +00:00
vsc
e372271695 new version of sub_atom
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@928 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-11-18 19:08:38 +00:00
vsc
1ada44ab8e stabilisation patches for Yap-4.5.2
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@922 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-11-12 12:33:31 +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
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
540d9639cb fix bad change in utils.yap
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@787 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-02-21 19:27:40 +00:00
vsc
773f2fb56e setof should cleanup in case of throw.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@786 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-02-21 19:18:12 +00:00
vsc
8b867ea4de new builtins: nth_clause, nth_instance.
allow clause/3 on static predicates.
predicate_property(P,number_of_clauses(N)).
improve profiling code.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@728 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-12-13 20:00:41 +00:00
vsc
910e50d980 some_recordedp never gets a third argument bound
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@726 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-12-11 16:08:35 +00:00
vsc
81ee7099d2 statistics/0 should also show maximum heap spent.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@724 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-12-11 14:56:09 +00:00
vsc
9bb13a1381 divide overflow time/1000 (Pat Caldron).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@714 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-12-03 06:03:27 +00:00
vsc
78923655b5 dynamic predicates with no clauses are not undefined, so
they should not point at UNDEFCODE but at FAIL_CODE


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@636 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-14 16:25:38 +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
e7748d6234 fluffy stuff for atom garbage collection.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@519 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-06-05 03:59:50 +00:00
vsc
358714433c first take for atom garbage collector.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@513 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-06-04 18:21:55 +00:00
vsc
521fe00a2d predicate_property(P,source).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@419 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-03-17 06:05:21 +00:00
vsc
bd8cb2e836 forgotten to save utils.yap
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@415 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-03-12 16:46:49 +00:00
vsc
de1a4700b6 fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@412 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-03-12 15:10:09 +00:00
vsc
43cad85ace fix debugging of [-f].
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@398 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-03-04 15:55:13 +00:00
vsc
2b8c0a2961 fix module usage in consult
get rid of singletion warning for on_signal


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@366 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-02-18 15:10:07 +00:00
vsc
1f5af38ba8 file_search_path
host_type


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@351 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-02-08 22:19:24 +00:00
vsc
f3c031633b ISO work
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@342 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-30 04:56:43 +00:00
vsc
d7109e6974 predicate_property should not return properties for undefined predicates.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@339 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-30 01:18:56 +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
362455bc74 fix predicate_property to handle modules correctly
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@300 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-16 06:20:56 +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
stasinos
6951619ae2 signal handling made more generic
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@290 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-11 15:54:17 +00:00
vsc
bd28a74d45 fix error handling in debugger (first try).
add extra argument to handle.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@284 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-10 18:01:14 +00:00
stasinos
7849f7b54e SIG_USR handling seems to be working
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@282 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-09 17:19:36 +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
3962e559aa style check fixes
improve error message on redefining system predicate


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@252 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-02 16:55:24 +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
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
8cc0f4e803 fix system_predicate/1 and $system_predicate/1.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@168 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-10-04 16:17:42 +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
bef57eb26c fix statistics
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@143 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-08-27 15:04:51 +00:00
vsc
0995041a7e deheisenberg statistics/0 (that is, statistics/0 should not spend space).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@123 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-07-12 12:47:57 +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
68820cc370 sys changes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@60 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-07 17:54:29 +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
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
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
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