:- module(command, [getCommand/2]). % functions for parsing a list of words into a recognised command getCommand(L,C) :- C =.. L. % placeholder