retagged by
511 views
2 votes
2 votes

The default type of conflict resolution rule for the Yacc parser generator is _________________.

  1.  in favor of shift   
  2.  in favor of reduce  
  3.  either shift or reduce   
  4.  dependent on a situation
retagged by

1 Answer

Best answer
2 votes
2 votes
The default kind of conflict resolution rule for the  Yacc parser generator is depending upon the situation(whether it is SR conflict or RR conflict).
selected by
Answer:

Related questions

2 votes
2 votes
0 answers
1
Bikram asked Nov 25, 2016
444 views
$\textbf{goto}$ function of LR class of grammar is represented as:Deterministic Finite Automata transitionsNon-deterministic Finite Automata transitionsPDA transitionsPar...
3 votes
3 votes
1 answer
2
Bikram asked Nov 25, 2016
442 views
Consider the following grammar:$E \rightarrow E + T \mid T$$T \rightarrow T ^* F \mid F$$F \rightarrow (E) \mid id$What are the productions for E, T and F after convertin...
2 votes
2 votes
1 answer
3
Bikram asked Nov 25, 2016
299 views
Which one of the following statements is TRUE?SLR parser has more states than LALR parser.LALR parser has more states than Canonical LR.Canonical LR has fewer states than...
3 votes
3 votes
1 answer
4
Bikram asked Nov 25, 2016
977 views
Which one of the following can be handled by predictive parsers?Left recursionLeft factorsAmbiguityNon-determinism