in Compiler Design
614 views
0 votes
0 votes
A) $S\rightarrow aA\mid bBa$

    $A\rightarrow bA\mid a$

    $ B\rightarrow aB\mid \varepsilon$

B) $S\rightarrow Aa\mid Bb$

    $ A\rightarrow \varepsilon $

    $ B\rightarrow \varepsilon $

C) $E\rightarrow E+E\mid (E) \mid id$
in Compiler Design
by
614 views

1 Answer

0 votes
0 votes
ans is only B

2 Comments

could you explain how you got the answer?
0
0

for better understanding refer here: LR Parsing Part 2

0
0

Related questions