From aafa1d9e7c413d6635755f0f541f0ed44b4ec923 Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Thu, 3 Apr 2014 10:32:13 +1100 Subject: Initial command processing file --- command.prolog | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 command.prolog 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 + -- cgit