Which of the following is true for shift reduce parsers?

Đạt Michio

New member
Which of the following is true for shift reduce parsers?
A. Scans and parses the input in one forward pass over the text, without any backup
B. A shift command advances in the input stream by one symbol
C. LALR parser
D. All of the mentioned
 
Answer: D
Explanation: The mentioned are the correct and proper functions of a shift reduce parsers. The parsing methods are most commonly used for parsing programming languages, etc.
 

Tìm kiếm

Back
Top