Computing Atlas

How Computing Was Built
Sign In
Text size
100%
Theme
Concept

Lexical Analysis

Technique

The first stage of compiling, in which a stream of raw source-code characters is grouped into tokens, such as keywords, identifiers, literals and punctuation, that the later parsing stage can work with.

Facts
Core Principle
Lexical analysis is the conversion of a stream of raw source-code text into semantically or syntactically meaningful lexical tokens for later processing. 1
Connections

In Field

Sources
1. Lexical analysis - Wikipedia
  • Lexical token and lexical tokenization section
    Lexical tokenization is conversion of a text into (semantically or syntactically) meaningful lexical tokens
  • In Group: Compiler and Language Implementation Techniques, Lead
    Lexical tokenization is conversion of a text into (semantically or syntactically) meaningful lexical tokens belonging to categories defined by a "lexer" program.
View the Source
Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.