. . . "The more I think about it, the more I feel that your requirements suggest that you are implementing a sort of scripting language and that part of the requirements is to tokenize commands through lexical analysis." .