What is primary task of a lexical analyzer?
Answers
Answered by
0
* Scan the program sequentially and report errors
* Divide the program into tokens and these tokens are delineated by blanks, operators and special symbols, and recognized as indentifiers, literals
* Build a literal table and an identifier table
* Build uniform symbol table
* Remove the comments and strip out the white spaces from the source program
* Divide the program into tokens and these tokens are delineated by blanks, operators and special symbols, and recognized as indentifiers, literals
* Build a literal table and an identifier table
* Build uniform symbol table
* Remove the comments and strip out the white spaces from the source program
Similar questions