summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2014-04-03 10:32:13 +1100
committerJed Barber <jjbarber@y7mail.com>2014-04-03 10:32:13 +1100
commitaafa1d9e7c413d6635755f0f541f0ed44b4ec923 (patch)
treeaf49b52801a8d09b9127b7b59d10118e46eb9c8b
parent2ee9e01ca2a53d895f561f88e686bad9a6e3a379 (diff)
Initial command processing file
-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
+