375 views
1 votes
1 votes
E-> E + T |T

T-> T*F|F

T->(E) | T-F

F->id

If LR(1) parser is used to construct the DFA using the above productions, then how many look-a-heads are present for an item T → .T * F in the initial state ________.

Please log in or register to answer this question.

Related questions

2 votes
2 votes
4 answers
2
2 votes
2 votes
1 answer
3
Akriti sood asked Dec 10, 2016
4,327 views
can LR(1) parser parse any context-free grammar/language ??and hence every regular language can be parsed by LR(1) parsers.
1 votes
1 votes
0 answers
4
indrajeet asked Dec 2, 2016
648 views
Consider the following two statements:P: Every regular grammar is LL(1)Q: Every regular set has a LR(1) grammarWhich of the following is TRUE?Both P and Q are trueP is tr...