Commit Graph

2911 Commits

Author SHA1 Message Date
Vitor Santos Costa
9aae90680e fix maplist metapredicates in SWI. 2009-06-14 22:57:45 -05:00
Vitor Santos Costa
65e8ed2908 use more efficient predicate. 2009-06-14 22:57:07 -05:00
Costa Vitor
91b09d7382 do not do macro_expansion from goal, only when consulting. 2009-06-14 19:44:36 -05:00
Costa Vitor
c3e84c9aaf fix SWI emulation of maplist 2009-06-14 19:44:10 -05:00
Costa Vitor
76e5fa69e4 maplist: instead of trying to be smart, just create a new predicate per expanded metacall (#133) 2009-06-14 18:55:59 -05:00
Vitor Santos Costa
a22f66a4fa don't import everything in a module by default when reexporting it #134 2009-06-14 12:16:54 -05:00
Vitor Santos Costa
b4ff9b492a make sure to recover stack before copying exception term. 2009-06-14 11:17:12 -05:00
Vitor Santos Costa
3ae6f583ec include AtomInStackExpansion 2009-06-13 16:05:45 -05:00
Vitor Santos Costa
826b45d21c fix handling of out stack while throwing an exception. 2009-06-13 15:21:13 -05:00
Vitor Santos Costa
5a10dda14e fix threads version. 2009-06-13 14:01:16 -05:00
Vitor Santos Costa
475e681907 do fetch and remove a the same time: PopFromDB 2009-06-13 13:06:02 -05:00
Vitor Santos Costa
4de6e48a33 save exception term in database, so that it is clean separate from stacks. #116 2009-06-12 14:35:15 -05:00
Vitor Santos Costa
9dff291be2 improve DCG support #72 2009-06-12 14:08:03 -05:00
Vitor Santos Costa
e6265e9d84 only dump stack if user not handling the stack #47 2009-06-12 14:04:32 -05:00
Vitor Santos Costa
1005fa8abf PLIOError should not prevent weird errors, like
resource_errors (#36).
2009-06-12 13:46:44 -05:00
Vitor Santos Costa
303261b283 improve error messages. 2009-06-12 13:44:22 -05:00
Vitor Santos Costa
d8e92a2808 do not use immediate updates, even in cprolog mode. 2009-06-11 23:05:10 -05:00
Ulrich Neumerkel
2f47f8902b Operator change for ISO/SWI 2009-06-11 09:27:48 -05:00
Costa Vitor
f4856cf8d0 Merge branch 'master' of gitosis@yap.dcc.fc.up.pt:yap-6
Conflicts:
	library/wundgraphs.yap
2009-06-10 14:09:30 -05:00
Vitor Santos Costa
5dd3aa5782 fix wneighbors 2009-06-10 12:42:45 -05:00
Vitor Santos Costa
4421f177b5 more module fixes (obs from Paulo Moura). 2009-06-10 12:35:13 -05:00
Vitor Santos Costa
4b19db742d fix module problems (obs from Paulo Moura). 2009-06-10 11:36:28 -05:00
Ulrich Neumerkel
7ae4c887fc Instantiation error for looping :- meta_predicate P. 2009-06-08 20:26:57 -05:00
Ulrich Neumerkel
04674cd584 Doc: module related 2009-06-08 20:26:35 -05:00
Costa Vitor
c45903301e add missing new atoms. 2009-06-08 20:25:47 -05:00
Costa Vitor
2689d69e92 -f could try to parse empty string... #124 2009-06-08 20:23:55 -05:00
Costa Vitor
9b7d2b1cd4 if the compiler has ommited the instructions, it means we should the
argument set up there by the compiler.
2009-06-08 20:08:21 -05:00
Costa Vitor
7ffbfdbc77 should use use_module, not ensure_loaded. 2009-06-08 14:14:26 -05:00
Costa Vitor
1e55e2f388 fix bad calls (obs from Paulo Moura). 2009-06-08 14:13:31 -05:00
Costa Vitor
982cf95bf6 fix warnings (rep from Paulo Moura) 2009-06-05 18:46:01 -05:00
Costa Vitor
15519fa3cd tightenn conditions on JumpExec 2009-06-05 18:45:41 -05:00
Vitor Santos Costa
dd6426b3b9 fix dbqueues (obs from Paulo Moura). 2009-06-05 14:31:06 -05:00
Vitor Santos Costa
4e5fe4186f fix bad test for bignum condition. 2009-06-05 14:19:02 -05:00
Costa Vitor
5e4be93491 able to commit 64 bits 2009-06-05 12:18:10 -05:00
Vitor Santos Costa
7e108201b0 fix memory leak in mod. 2009-06-05 10:55:28 -05:00
Vitor Santos Costa
ecb03a61c0 fix memory leak in min/2 and max/2. 2009-06-05 10:38:07 -05:00
Vitor Santos Costa
a1b621507a max of bignums would always return the first bignum #118 2009-06-05 09:49:00 -05:00
Vitor Santos Costa
6983a45a43 improve a bit implementation of attr operations. 2009-06-05 09:48:22 -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
4b91f13ee1 allow easy shunting, but make sure we do not shunt chains below the current CP. 2009-06-05 09:47:17 -05:00
Vitor Santos Costa
b5a5e10544 fix warning. 2009-06-04 10:26:27 -05:00
Vitor Santos Costa
5a4d16790d fix bad bracket for non GMP (Simon Strobl, #117) 2009-06-04 10:21:24 -05:00
Vitor Santos Costa
b455f057a8 fix writing of atributed variables. 2009-06-04 10:18:28 -05:00
Vitor Santos Costa
cd63a1f493 temporary disable easy shunting until I understand trouble with aattributed variables #80 2009-06-04 10:14:27 -05:00
Vitor Santos Costa
ea4f3f6447 always count gc calls #93 2009-06-03 20:36:15 -05:00
Vitor Santos Costa
d42a2dc225 make yap2swi compile without GMP (obs from Tony Wilson). 2009-06-03 20:21:45 -05:00
Vitor Santos Costa
b127d0c248 Merge branch 'master' of gitosis@yap.dcc.fc.up.pt:yap-6 2009-06-03 20:15:30 -05:00
Costa Vitor
5da51d615d fix crashes in 64-bit mode with unknown predicates. 2009-06-03 15:27:53 -05:00
Costa Vitor
51d1c442d6 fix not_empty_list #92 2009-06-03 10:43:40 -05:00
Costa Vitor
efb72f7d0e make sure we send unsigned chars to writing routine (obs from Simon Strobl) 2009-06-03 10:25:21 -05:00