Menu ▾ ▴

Src (SVN)-old Commit Log


Commit Date  
[r9195] by dwarren

Added tests for retract_in_db, which has been made more general,
and more efficient.

2018-01-22 00:14:00 Tree
[r9194] by dwarren

New tests for the xxx_dbi() versions of the db operations
(i.e., those that work with interned trie database terms.)

2018-01-08 15:54:55 Tree
[r9193] by dwarren

Fixed bug in disjoint_db/2.
For each exporte xxx_db() predicate, added corresponding xxx_dbi() predicate
with same functionality, but takes intern_termhash codes for input trie
databases, and produces them for output databases. By using these, the
user can efficiently table these databases, no matter how large.

2018-01-08 15:53:29 Tree
[r9192] by dwarren

Added tests of new prolog_db set operations.

2018-01-06 20:02:11 Tree
[r9191] by dwarren

Added documentation of new prolog_db set operations.

2018-01-06 20:01:13 Tree
[r9190] by dwarren

Added new predicates for set operations on DBs: union, intersection,
set difference, symmetric difference, subset, disjoint. These are all
implemented using the structure of the trie representation.

2018-01-06 20:00:15 Tree
[r9189] by tswift

sym = insert_psc(ptoc_string(CTXTc 1),(int)ptoc_int(CTXTc 2), global_mod, &value);
init_psc_ep_info(pair_psc(sym)); // reset to reload
psc_set_data(pair_psc(sym),(Psc)makestring(string_find(mod_name,1)));
+ // psc_set_env(tpsc,T_UNLOADED);
+ if (get_type(pair_psc(sym)) == 0)
+ psc_set_type(pair_psc(sym),T_UDEF);
} else {
mod_psc = pair_psc(insert_module(0, mod_name));
sym = insert_psc(ptoc_string(CTXTc 1), (int)ptoc_int(CTXTc 2), mod_psc, &value);

Added the 3 +'d lines above to psc_import to make the import directive
consistent with the import declaration as executed by the loader. The
motivation for this is to make predicates that are imported but
undefined have the type T_UDEF, which can be reflected as unloaded by predicate_property.

2018-01-01 20:10:44 Tree
[r9188] by tswift

Added documentation for get_calls/4 which returns the pointer to the
call node; get_calls/3 is still supported as a standard predicate.

2017-12-31 00:30:52 Tree
[r9187] by tswift

Documentation of subgoal property plus other small changes.

2017-12-30 22:13:25 Tree
[r9186] by tswift

Added a new -- very simple test for subgoal_property/2.

2017-12-30 22:09:46 Tree
Older >