First implementation of the lexical analyser