This document discusses lexical analysis and creating a lexical analyzer with Lex. It provides the following information:
1. Lexical analysis reads source program characters and breaks them into a stream of tokens like identifiers, keywords, punctuation.
2. To create a lexical analyzer with Lex, a lex.l file is created specifying the analyzer. Lex compiles this to lex.yy.c which is then compiled to an executable a.out.
3. Lex source files contain regular expression rules to match tokens and C code actions. Tokens are stored in yytext and have associated values in yylval. The yylex() function performs scanning.