Lexical Analysis

6:00

Question 1 of 6

Which of the following is the primary task of a lexical analyzer? [GATE CS 2007]

To build a parse tree.
To generate machine code.
To group characters into a stream of tokens.
To perform type checking.