The Free On-line Dictionary of Computing (30 December 2018):lexical analyser lexer (Or "scanner") The initial input stage of a language processor (e.g. a compiler), the part that performs lexical analysis. (1995-04-05)