Computer Science - Operating Systems Concepts - Discussion

Discussion Forum : Operating Systems Concepts - Section 2 (Q.No. 31)
31.
The function(s) of the Syntax phase is(are)
to recognize the major constructs of the language and to call the appropriate action routines that will generate the intermediate form or matrix for these constructs.
to build a literal table and an identifier table
to build a uniform symbol table
to parse the source program into the basic elements or tokens of the language.
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
2 comments Page 1 of 1.

Mohamed said:   6 years ago
Please explain me.

Avishek said:   8 years ago
A syntax analyzer or parser takes the input from a lexical analyzer in the form of token streams.

The parser analyzes the source code (token stream) against the production rules to detect any errors in the code. The output of this phase is a parse tree.

Post your comments here:

Your comments will be displayed after verification.