Vítor Santos Costa
3164ed2d61
doc support
2015-01-04 23:58:23 +00:00
Vítor Santos Costa
e9cc545f68
big cleanup: cpmpile under style checker.
...
fix broken module stuff.
2014-10-07 01:35:41 +01:00
Vítor Santos Costa
3009987985
update docs
2014-09-11 14:06:57 -05:00
Vítor Santos Costa
4573afa70b
fix frozen/2.
2014-08-20 07:55:05 -05:00
Vítor Santos Costa
a8c77d2609
fix string_concat/2
2014-04-09 12:39:29 +01:00
Vítor Santos Costa
42d3ca6459
avoid \!
2013-11-25 12:16:10 +01:00
Vitor Santos Costa
7f70a797f4
fix error messages to obey standard.
2010-10-12 22:02:24 +01:00
Vítor Santos Costa
4ae92544b2
fix $when (obs from David Powers)
2010-09-30 20:48:13 +01:00
Vítor Santos Costa
fa91fb6d86
ifix typo
2010-09-30 20:10:25 +01:00
Vítor Santos Costa
13130df3d9
fix bugs in corout (onbs from David Powers).wq
2010-09-28 00:59:39 +01:00
Vítor Santos Costa II
acee213eeb
beautification.
2010-04-20 23:13:11 +01:00
Vitor Santos Costa
26e0bfdf06
fix op
2010-03-12 22:41:30 +00:00
Vitor Santos Costa
c4b39d3ab9
update Prolog code: do a cleanup and make delays use SWI interface.
2010-03-12 14:26:35 +00:00
Vitor Santos Costa
613dfb0d95
move away from SICStus: do not check all attvars.
2010-03-12 08:25:35 +00:00
Vitor Santos Costa
3d10482cc7
more upgrades to new coroutining code.
2010-03-10 14:06:07 +00:00
Vitor Santos Costa
dd3645b5c8
move to SWI like interface.
2010-03-08 09:24:24 +00:00
Vitor Santos Costa
65e8ed2908
use more efficient predicate.
2009-06-14 22:57:07 -05:00
Vitor Santos Costa
a9647b0321
wake up goals the same order they were suspended.
2009-06-05 09:48:00 -05:00
Vitor Santos Costa
170a5bcd70
fix regression #110
2009-06-03 09:22:23 -05:00
Vitor Santos Costa
26a20fa74a
fix showing clean_call ( #65 Ulrich Neumerkel).
2009-05-20 09:12:01 -07:00
Vitor Santos Costa
cfec78de06
fix copy_term and frozen (obs from Ulrich).
2009-05-18 07:07:42 -07:00
Vitor Santos Costa
55036ad9bb
check if argument to when is bound (obs from Ulrich Neumerkel).
2009-05-17 10:58:21 -07:00
Vitor Santos Costa
1058a350c6
more cleanups: get rid of dead code.
2009-05-16 12:08:11 -07:00
Vitor Santos Costa
1fe1b19534
cleanup handling of attributed variables:
...
- try to make it clear when to call project
- try to make it clear when to generate goals for attributed variables (get_goalist_from_attvars).
- change call_residue to rely this infrastructure and then add extra variables.
- change frozen never to call project.
2009-05-16 12:00:56 -07:00
Vitor Santos Costa
bdf8b890e3
copy_term/3
2009-05-13 17:11:21 -05:00
Vitor Santos Costa
04fa96e8a0
add call_residue_vars (SWI and SICStus 4 compatibility).
2009-05-13 16:43:24 -05:00
Vitor Santos Costa
f065e9359b
hProlog semantics requires checking *every* existing attributed variable (broken
...
in recent patch).
2009-05-08 00:01:09 -04:00
Vitor Santos Costa
d3632dd48c
fix case where you may bind variable (eg, freeze(X,Y)), obs from Ulrich Neumerkel.
2009-05-07 23:51:18 -04:00
Vitor Santos Costa
95ee0d9148
support calling attribute_goals.
2009-04-25 12:54:50 -05:00
Vitor Santos Costa
9ef589aef7
simplify output messages
2009-04-25 10:58:21 -05:00
vsc
b3d9e88802
Fix typos across code
...
Change debugger to backtrack more alike byrd model
Fix typo in debugger option f
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1782 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-01-24 14:20:04 +00:00
pmoura
ab33864f0c
Another attemp to get call_cleanup/2-3 right. Third is the charm (I hope...).
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1769 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-01-07 11:27:09 +00:00
pmoura
9de3c0c7a9
Added call/5-12 (we alread have call_with_args/2-12); not sure they are worth. Alternative implementation for call_cleanup/2-3: previous implementation appears to be pruning cleanup goals before they are executed; needs testing.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1756 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-31 12:29:46 +00:00
vsc
88f51c97d7
fix some bugs in call_cleanup: the result of action should not matter,
...
and !,fail would not wakeup the delayed goal.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1754 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-31 01:50:35 +00:00
vsc
7d1b20c9cd
call_cleanup/2 and 3
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1750 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-30 03:25:47 +00:00
vsc
90c1641841
several debugger and CLP(BN) improvements.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1732 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-13 16:10:26 +00:00
vsc
8ed6f693bb
code review
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1576 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-03-24 16:26:31 +00:00
vsc
a4b85e2abd
more fixes to get_attributes.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1497 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-01-07 02:12:32 +00:00
vsc
1fa46c6051
sveral updates
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1415 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-10-28 17:38:50 +00:00
vsc
e6a15addf5
5.1:
...
- improvements to GC
2 generations
generic speedups
- new scheme for attvars
- hProlog like interface also supported
- SWI compatibility layer
- extra predicates
- global variables
- moved to Prolog module
- CLP(R) by Leslie De Koninck, Tom Schrijvers, Cristian Holzbaur, Bart
Demoen and Jan Wielemacker
- load_files/2
from 5.0.1
- WIN32 missing include files (untested)
- -L trouble (my thanks to Takeyuchi Shiramoto-san)!
- debugging of backtrable user-C preds would core dump.
- redeclaring a C-predicate as Prolog core dumps.
- badly protected YapInterface.h.
- break/0 was failing at exit.
- YAP_cut_fail and YAP_cut_succeed were different from manual.
- tracing through data-bases could core dump.
- cut could break on very large computations.
- first pass at BigNum issues (reported by Roberto).
- debugger could get go awol after fail port.
- weird message on wrong debugger option.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1402 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-10-18 17:04:43 +00:00
vsc
03ba05f24a
a new and hopefully much better implementation of atts.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1392 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-09-09 17:24:39 +00:00
vsc
18f0de5486
fix log(0.0) and log10(0.0) to be SICStus compatible.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1245 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-02-18 21:34:02 +00:00
vsc
52a46e5c5d
fix mess with add clause
...
improves on sigsegv handling
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1239 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-02-08 04:05:39 +00:00
vsc
2e2df1a64f
IsUnboundVar should check addresses
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1144 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-09-18 14:03:42 +00:00
vsc
0de365678a
simplify frozen/2
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1140 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-09-17 19:34:53 +00:00
vsc
8402df6bb2
more constraint simplifications
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1135 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-09-13 21:19:14 +00:00
vsc
27a98ecdde
add attvar/1 to system.
...
sort before printing attributed variables to get rid of duplicates.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1132 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-09-10 20:18:01 +00:00
vsc
6a4d9ef41a
fix correctly the bug in coroutining: Yap should join the two goals.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1129 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-09-08 18:09:26 +00:00
vsc
a9d6944b17
freeze was not ready for the case when a variable was woken but not bound.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1127 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-09-07 21:08:30 +00:00
vsc
1e50d32aed
fix bug in coroutining support
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1078 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-06-16 14:09:34 +00:00