lexer /leksr/ , n. Common hacker shorthand for lexical analyzer , the input-tokenizing stage in the parser for a language (the part that breaks it into word-like pieces). Some C lexers get confused by the old-style compound ops like =-.