edited by
668 views
1 votes
1 votes
Find the closure of S $\rightarrow$ .A ,dollar for the grammar

S --> A

A --> AB | $\varepsilon$

B --> aB | b
 

// I'm getting
S --> .A , dollar

A --> .AB, dollar

A --> . $\varepsilon$ , a,b
edited by

Please log in or register to answer this question.

Related questions

1 votes
1 votes
0 answers
1
2 votes
2 votes
0 answers
2
rahul sharma 5 asked Oct 14, 2017
1,534 views
Consider the following grammer:-Stmts - Stmt | Stmts;StmtStmt - Var =EVar ->id[E] | idE- id | (E)Find the number of conflicts in LR(0)?
0 votes
0 votes
1 answer
4
aditi19 asked Mar 25, 2019
1,132 views
Can lookahead symbol be epsilon in LR(1) parsing?andpls give the LR(1) diagram for the following grammar?A->AB | aB->*AC | Cb | ∈C->+ABc | ∈