summaryrefslogtreecommitdiff
path: root/prolog
diff options
context:
space:
mode:
Diffstat (limited to 'prolog')
-rw-r--r--prolog/runner/sandbox.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/prolog/runner/sandbox.pl b/prolog/runner/sandbox.pl
index 997a571..d1a2593 100644
--- a/prolog/runner/sandbox.pl
+++ b/prolog/runner/sandbox.pl
@@ -1,5 +1,11 @@
:- multifile sandbox:safe_primitive/1.
+% needed for call_with_inference_limit/3
+sandbox:safe_primitive(system:'$inference_limit'(_,_)).
+sandbox:safe_primitive(system:'$inference_limit_except'(_,_,_)).
+sandbox:safe_primitive(system:'$inference_limit_false'(_)).
+sandbox:safe_primitive(system:'$inference_limit_true'(_,_,_)).
+
% needed for algol problems
% TODO find a better way
sandbox:safe_primitive(call(_)).