This document discusses language processing development tools (LPDTs) that focus on generating the analysis phase of language processors. It specifically describes Lexical Analyzers and the LEX tool. LEX accepts an input specification with regular expressions that define the tokens/terminals of a language. It then generates a lexical analyzer that tokenizes the input stream. The analyzer identifies lexical units, classifies them, and builds descriptor tokens containing a class code and number. It also performs semantic actions like entering identifiers and numbers into symbol tables.
Related topics: