Lexical scanner using whitespace as a delimiter