COMPILER DESIGN

SYNTAX ANALYSIS

ROLE OF THE PARSER

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The parsing table is generally a ____ dimensional array.
A
one
B
two
C
three
D
four
Explanation: 

Detailed explanation-1: -Parser is a compiler that is used to break the data into smaller elements coming from lexical analysis phase. A parser takes input in the form of sequence of tokens and produces output in the form of parse tree. Parsing is of two types: top down parsing and bottom up parsing.

Detailed explanation-2: -The way the production rules are implemented (derivation) divides parsing into two types : top-down parsing and bottom-up parsing.

There is 1 question to complete.