vsc
9bb06c4c7e
bug in indexing code
...
fix warning messages for write.c
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1626 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-02 16:39:06 +00:00
rslopes
8a7745bff6
include <readline/history.h>
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1625 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-02 14:05:13 +00:00
ricroc
ec5891574e
incomplete tabling: remove subgoal frame from list of inactive subgoals when a repeated call appears.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1624 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-02 08:01:27 +00:00
tiagosoares
fd79ec1b9d
MYDDAS: added new predicates to the MYDDAS interface. db_call_procedure/3 and db_sql_mode/2. Added also a sql_query_optmizer for translate/3
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1623 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-30 10:11:25 +00:00
tiagosoares
7abbf8a1d8
MYDDAS: added new predicates to the MYDDAS interface. db_call_procedure/3 and db_sql_mode/2
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1622 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-30 10:07:44 +00:00
ricroc
6c4cb8ab74
restore startup when not defined YAP_MEMORY_ALLOC_SCHEME.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1621 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-29 15:54:56 +00:00
ricroc
676e2774c9
new built-in predicate: show_tabled_predicates/0
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1620 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-29 15:52:22 +00:00
vsc
481a01c5e5
fix expand_consult patch
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1619 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-29 01:15:18 +00:00
vsc
62f7b73f09
fix the expand_consult patch
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1618 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-28 17:53:44 +00:00
vsc
720db316ce
cleanups
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1617 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-28 16:14:05 +00:00
vsc
9101c18410
do locking on streams
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1616 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-28 15:48:33 +00:00
vsc
6fb10bfc51
fix number of overflow bugs affecting threaded version
...
make current_op faster.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1615 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-28 13:23:23 +00:00
rslopes
a80878d5f6
fix do profiler offline.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1614 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-27 20:58:59 +00:00
vsc
da7da82733
don't use <= to compare with block top (libc may not have block header).
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1613 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-27 17:04:08 +00:00
rslopes
87a481ca45
*** empty log message ***
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1612 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-27 14:13:24 +00:00
vsc
d9689d50d4
prolog_flag(toplevel_print_options,_) was undocumented and broken!
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1611 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-25 16:02:20 +00:00
vsc
b9e5416355
fix ! in debugger (execute_clause)
...
improve system/1 and execute/1
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1610 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-25 03:23:40 +00:00
tiagosoares
1265946374
MYDDAS: Reserved a predicate property entry Flag, for future use.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1609 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-24 12:05:51 +00:00
tiagosoares
dc31a4fc40
MYDDAS: Compilation error corrected. When MYDDAS_ODBC was enabled and MYDDAS_MYSQL not, it wouldn't compile. Bug report from Keri Harris.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1608 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-24 12:04:21 +00:00
vsc
3b26b9603b
fix thread_peek_message to understand aliases
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1607 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-22 11:51:38 +00:00
vsc
9cbe63778e
fix garbage collector to handle multi-assigned variables and to not mess around
...
with cp_tr fields.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1606 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-21 21:50:33 +00:00
ricroc
9c12627e84
documentation for tabling execution.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1605 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-21 18:39:38 +00:00
vsc
d8ccb42440
fix current_thread to make sure it uses the integer ID even with aliases.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1604 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-20 17:29:46 +00:00
vsc
5198ba1077
more graph stuff.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1603 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-20 15:28:08 +00:00
vsc
6d704a6675
commit updates to graphs and red-blac trees.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1602 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-14 01:01:55 +00:00
rslopes
b80a77e4b5
update version to Yap-5.1.2 (working version)
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1601 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-13 12:02:39 +00:00
vsc
176f36d5fd
fix debugging typo
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1600 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-13 02:04:24 +00:00
vsc
ab361ad9fd
make it sure that making vars safe does not propagate across branches of disjunctions.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1599 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-12 20:08:51 +00:00
vsc
af65e2dbc2
fix bug in clause: a trust_me followed by a try should be implemented by
...
reusing the choice-point.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1598 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-12 18:56:50 +00:00
rslopes
307a132aa6
fix for the EAM internal function that shows abstract machine code
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1597 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-12 17:26:14 +00:00
rslopes
f116d8b854
fix needed by the EAM engine
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1596 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-12 17:14:58 +00:00
rslopes
1c6cb0e8cf
small fixes
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1595 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-12 15:51:23 +00:00
ricroc
1ce0cdee55
subgoal_search: remove subgoal frame from list of inactive subgoals when a repeated call appears.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1594 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-12 14:57:59 +00:00
rslopes
e2b10fe908
fix for older compilers
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1593 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-11 16:49:07 +00:00
rslopes
13479f6091
Update for sun arch.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1592 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-11 16:45:43 +00:00
vsc
783ae4b9a0
fix syntax error message handling
...
improve redblack trees and use it to reimplement association lists and
to have better implementation of several graph algorithms.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1591 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-10 19:24:52 +00:00
rslopes
39daac182e
eamconsult can now be used to pre-compile simple prolog code.
...
We still need to support futher builtins.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1590 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-08 15:12:08 +00:00
rslopes
11f13db8fc
bug fix
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1589 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-08 14:56:48 +00:00
rslopes
794f7d1ce7
updated eamconsult, but still supporting only skip_while_var.
...
Next we plan to support other bluitins through
eam and-or-tree controls. Example:
var(X) must be transformed into wait_till_bound(X), var(X)
that will fail if X is bound or waits till is leftmost in the and-or-tree
before continuning...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1588 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-08 13:28:23 +00:00
rslopes
5179cb7d2b
eam.yap includes first version of eamconsult
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1587 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-06 11:18:37 +00:00
rslopes
2da7e891dc
include pl/eam.yap
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1586 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-06 11:15:56 +00:00
vsc
30318bb60d
Lots of fixes (check logfile for details
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1585 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-05 00:16:55 +00:00
vsc
0f8650bfa3
get rid of debug code
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1584 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-03-30 01:12:38 +00:00
vsc
79c0a8cc27
fix nasty variable shunting bug in garbage collector :-(:wq
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1583 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-03-30 01:11:10 +00:00
pmoura
9e25b96328
Logtalk 2.27.1 files.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1582 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-03-29 16:13:50 +00:00
vsc
e3a987f38e
make tabling compile
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1581 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-03-29 16:00:10 +00:00
pmoura
75b2645e3f
Logtalk 2.27.1 files.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1580 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-03-26 17:31:34 +00:00
vsc
fded381282
had broken listing when changed "" to ''.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1579 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-03-24 17:15:20 +00:00
rslopes
f8360b6016
New update to BEAM engine.
...
BEAM now uses YAP Indexing (JITI)
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1578 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-03-24 17:13:41 +00:00
rslopes
489b1a91c2
New update to BEAM engine.
...
BEAM now uses YAP Indexing (JITI)
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1577 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-03-24 16:34:21 +00:00