summaryrefslogtreecommitdiffstats
path: root/test/uscxml/prolog
diff options
context:
space:
mode:
authorStefan Radomski <github@mintwerk.de>2016-05-12 13:12:33 (GMT)
committerStefan Radomski <github@mintwerk.de>2016-05-12 13:12:33 (GMT)
commitb62e7979600feee23dc7cdb61042a8fc7673122b (patch)
treef7351372f37979dd2d048e0b68a16a4cd3b2aadb /test/uscxml/prolog
parent1b11b310be61e51b3ac5ebb83f7c8a33aef3d6e8 (diff)
downloaduscxml-b62e7979600feee23dc7cdb61042a8fc7673122b.zip
uscxml-b62e7979600feee23dc7cdb61042a8fc7673122b.tar.gz
uscxml-b62e7979600feee23dc7cdb61042a8fc7673122b.tar.bz2
Major Refactoring v2.0
Diffstat (limited to 'test/uscxml/prolog')
-rw-r--r--test/uscxml/prolog/likes.pl38
1 files changed, 0 insertions, 38 deletions
diff --git a/test/uscxml/prolog/likes.pl b/test/uscxml/prolog/likes.pl
deleted file mode 100644
index 22395ed..0000000
--- a/test/uscxml/prolog/likes.pl
+++ /dev/null
@@ -1,38 +0,0 @@
-%% Demo coming from http://clwww.essex.ac.uk/course/LG519/2-facts/index_18.html
-%%
-%% Please load this file into SWI-Prolog
-%%
-%% Sam's likes and dislikes in food
-%%
-%% Considering the following will give some practice
-%% in thinking about backtracking.
-%% ?- likes(sam,dahl).
-%% ?- likes(sam,chop_suey).
-%% ?- likes(sam,pizza).
-%% ?- likes(sam,chips).
-%% ?- likes(sam,curry).
-
-likes(sam,Food) :-
- indian(Food),
- mild(Food).
-likes(sam,Food) :-
- chinese(Food).
-likes(sam,Food) :-
- italian(Food).
-likes(sam,chips).
-
-indian(curry).
-indian(dahl).
-indian(tandoori).
-indian(kurma).
-
-mild(dahl).
-mild(tandoori).
-mild(kurma).
-
-chinese(chow_mein).
-chinese(chop_suey).
-chinese(sweet_and_sour).
-
-italian(pizza).
-italian(spaghetti).