the first piece, a lexical analyzer, reads a page of instruction text and splits it into words and sentences. it also marks the type for each word. for example, a word may be number, a variable, a verb, a math sign, or an adjective. the output of a lexical analyzer is a list of tokens.