Lexical analysis

(Or “linear analysis”, “scanning”) The first stage of processing a language. The stream of characters making up the source program or other input is read one at a time and grouped into lexemes (or “tokens”) – word-like pieces such as keywords, identifiers, literals and punctutation. The lexemes are then passed to the parser.
[“Compilers – Principles, Techniques and Tools”, by Alfred V. Aho, Ravi Sethi and Jeffrey D. Ullman, pp. 4-5]


Read Also:

  • Lexical decision task

    noun 1. (psychol) an experimental task in which subjects have to decide as fast as possible whether a given letter string is a word

  • Lexical definition

    noun the meaning of a word in common usage by speakers of the language; dictionary definition

  • Lexical insertion

    noun 1. (generative grammar) the process in which actual morphemes of a language are substituted either for semantic material or for place-fillers in the course of a derivation of a sentence

  • Lexicality

    [lek-si-kuh l] /ˈlɛk sɪ kəl/ adjective 1. of or relating to the words or vocabulary of a language, especially as distinguished from its grammatical and syntactical aspects. 2. of, relating to, or of the nature of a . /ˈlɛksɪkəl/ adjective 1. of or relating to items of vocabulary in a language 2. of or relating […]

Disclaimer: Lexical analysis definition / meaning should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional. All content on this website is for informational purposes only.