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)
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.
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:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers