In analyzing the compilation of PL/I program, the term "Syntax analysis" is associated with
Answer: A
Correct answer: recognition of basic syntactic constructs through reductions
Syntax analysis takes the token stream and parses it against the grammar, reducing sequences of tokens to the constructs they form - expressions, statements, declarations - and reporting anything the grammar does not allow. Recognising the basic elements is lexical work, and improving the matrix is optimisation.
Please log in or register to report this question.