summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authorPeter Mikkelsen <peter@pmikkelsen.com>2021-06-30 17:48:49 +0000
committerPeter Mikkelsen <peter@pmikkelsen.com>2021-06-30 17:48:49 +0000
commitbaea4aa939861fd4efbc71b96f93ba890f01ac40 (patch)
tree17258014a63d0c0e8de767bcb31914c6d2cb2b1e /eval.c
parent50f83a91220940042962fdb55d07bb03991f52be (diff)
Add a standard library with the "builtins" that doesn't really need to be actual builtins
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/eval.c b/eval.c
index cf26fdf..3a6ab38 100644
--- a/eval.c
+++ b/eval.c
@@ -48,6 +48,9 @@ evalquery(Term *database, Term *query, Binding **resultbindings)
Retry:
goal = goals->goal;
+ if(debug)
+ print("Working goal: %S\n", prettyprint(goal));
+
Binding *bindings = nil;
Term *clause = nil;