The Free On-line Dictionary of Computing (19 January 2023):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)