The document discusses lexical analysis of computer programming languages. It introduces lexical analysis as the process of reading a string of characters and categorizing them into tokens based on their roles. This involves constructing regular expressions to define the patterns for different token classes like keywords, identifiers, and numbers. The document then explains how to specify the lexical structure of a language by defining regular expressions for each token class and using them to build a lexical analyzer that takes a string as input and outputs the sequence of tokens.