summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--command.prolog11
1 files changed, 11 insertions, 0 deletions
diff --git a/command.prolog b/command.prolog
new file mode 100644
index 0000000..4e8c5d7
--- /dev/null
+++ b/command.prolog
@@ -0,0 +1,11 @@
+
+
+:- module(command, [getCommand/2]).
+
+
+
+
+% functions for parsing a list of words into a recognised command
+
+getCommand(L,C) :- C =.. L. % placeholder
+