Introduction
Introduction
- Lexical Analyzer reads source text and produces tokens, which are the basic lexical units of the language.
Example: System.out.println(“Hello Class”);
has tokens System, dot, out, dot, println, left paren, String
Hello Class, right paren and a semicolon.