restore support for tabling and delimited continuations (#779)

This commit is contained in:
Mark Thom
2021-02-17 16:18:49 -07:00
parent 396c589743
commit 2a70ca375c
11 changed files with 23 additions and 6 deletions

View File

@@ -53,6 +53,8 @@
:- attribute executing_all_work/1, worklist_presence/1, wkl_answer_cluster/1, wkl_suspension_cluster/1, wkl_answer_cluster_pointer_flag/1.
verify_attributes(_, _, []).
/** <module> Tabling Worklist management
A batched worklist: a worklist that clusters suspensions and answers as

View File

@@ -13,6 +13,8 @@
:- attribute table_global_worklist/1.
verify_attributes(_, _, []).
put_new_global_worklist :-
( bb_get(table_global_worklist_initialized, _) ->
true

View File

@@ -61,6 +61,8 @@
:- attribute table_status/1, newly_created_table_identifiers/1.
verify_attributes(_, _, []).
% This file defines the table datastructure.
%
% The table datastructure contains the following sub-structures:

View File

@@ -51,6 +51,8 @@
:- attribute trie_table_link/1.
verify_attributes(_, _, []).
% This file defines a call pattern trie.
%
% This data structure keeps the relation between a variant and the

View File

@@ -47,6 +47,8 @@
:- attribute maybe_just/1, children/1.
verify_attributes(_, _, []).
% Implementation of a prefix tree, a.k.a. trie %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

View File

@@ -40,6 +40,8 @@
:- use_module(library(dcgs)).
:- use_module(library(error)).
:- multifile(tabled/2).
%%:- multifile
%% system:term_expansion/2,
%% tabled/2.