Commit Graph

721 Commits

Author SHA1 Message Date
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
f7161d37c4 support for tries
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@727 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-12-12 20:47:36 +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
e4185f145c document statistics/0.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@725 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-12-11 15:04:13 +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
6014cd75ca initial support for vc++
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@723 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-12-10 19:09:50 +00:00
vsc
696fdc338b start working on configure support for vc
WIN should always disable buffering on stderr
fix some warnings in ypsocks
do some cleanups in save.c


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@722 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-12-10 19:08:25 +00:00
vsc
52f4eb1895 protect <readline/readline.h>
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@721 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-12-10 14:44:47 +00:00
vsc
00886e5205 key_statistics/3
disable stack dump by default: yap_flags(stack_dump,_).


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@720 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-12-10 14:36:22 +00:00
vsc
8bccb86a43 do some more checking and document.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@719 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-12-10 00:32:22 +00:00
vsc
01d2448b34 allow recorded(X,Y,Key_Bound).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@718 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-12-10 00:22:01 +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
13e409c659 More Yap_ fixes.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@716 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-12-03 06:06:44 +00:00
vsc
763b59bb05 $meta_predicate should be in user.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@715 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-12-03 06:06:24 +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
052a52f04f oops, left a line in docs for eraseall/1.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@713 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-12-02 18:15:14 +00:00
vsc
d3dc039ddc fix documentation for eraseall
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@712 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-12-02 18:12:58 +00:00
vsc
4238da327d \+,not and | should be module processed in the same way as -> ; and ,
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@711 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-12-02 18:08:25 +00:00
vsc
5b2faebb9d Yapor and normal system use same or_last
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@710 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-12-01 04:14:41 +00:00
vsc
28ec10b764 meta-call should not have choice-points when co-routyining starts. This
happened because of ; Thanks to Patrick Caldron.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@709 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-26 23:00:32 +00:00
vsc
7e5b706936 extra array functionality
fix YAPOr compilation.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@708 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-26 22:28:32 +00:00
vsc
e216aab2c6 Christian's patches for OPTYap.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@707 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-26 22:19:48 +00:00
vsc
8264bfeb9e fix debugger
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@706 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-26 22:16:30 +00:00
vsc
2130f41f44 fixes by Nuno to c-interface.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@705 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-26 16:52:09 +00:00
stasinos
61f2133901 fix stupid bug with mpi_receive/3
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@704 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-21 15:57:23 +00:00
stasinos
fc684b3be7 use macros instead of hard-wired numbers for the 3rd argument of Yap_plwrite()
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@703 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-21 15:54:38 +00:00
vsc
3e0216413a write_depth(0) is an acceptable option for write_term.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@702 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-20 20:02:11 +00:00
vsc
0018af2b05 <0 would not work, it would set to default.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@701 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-20 20:01:33 +00:00
vsc
2c9190dee8 Try to make plwrite reentrant by getting rid of (some) global
variables.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@700 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-20 20:00:56 +00:00
vsc
e133c87b3b fix cycle when outputting a choicepoint for retry_c.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@699 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-20 19:25:45 +00:00
vsc
8934201fd3 oops!
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@698 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-20 15:07:36 +00:00
vsc
4e727b2f34 get rid of annoying debugging message.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@697 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-20 15:04:37 +00:00
vsc
f339741dd2 use install_win in all windows versions.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@696 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-20 14:36:19 +00:00
vsc
4a5d2809ab all windows should use install win
cygwin only needs -lcygwin


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@695 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-20 05:29:43 +00:00
vsc
1530bf21ed compiler should check for variables first!
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@694 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-20 05:17:26 +00:00
vsc
bf37b29b4b better handling for scanning errors;
make Yap_error_output a global variable.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@693 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-19 17:10:45 +00:00
vsc
35f1d9cf63 initialization predicates should execute in consulted module.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@692 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-19 14:43:17 +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
212c64f782 fix bad documentation on remove_duplicates.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@690 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-18 17:25:22 +00:00
vsc
f53fdc54cb Patrick Caldon:
make goal_expansion/3 work recursively
fixes a couple of spelling errors in the manual


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@689 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-18 17:17:22 +00:00
stasinos
735c5bed1c FileNameBuf is now _YAP_FileNameBuf
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@688 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-14 17:33:37 +00:00
stasinos
a4808d86da _YAP_RecoverSlots() and YAP_RecoverSlots() return void
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@687 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-14 17:32:08 +00:00
vsc
304fad4247 commit configure
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@686 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-13 15:29:44 +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
stasinos
9cfd0deeab all global symbols should now start with _YAP
add the T formatting control sequence for debugging the
internal representation of terms


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@684 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-12 10:29:31 +00:00
stasinos
9d4712b400 all global symbols should now start with _YAP
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@682 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-12 10:25:11 +00:00
vsc
0b562d3e2d updates to configure
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@681 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-12 04:36:59 +00:00
vsc
99c2029cdc support for inlines.o
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@680 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-12 04:36:05 +00:00
vsc
6c626484f0 fix module stuff (at last)
debugger should call goal_expansion in spycalls.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@679 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-12 00:33:48 +00:00
vsc
f56a874e3b fix library/system Makefile
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@678 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-11 20:01:22 +00:00