Let the following grammar:
S S (S) | ε.
(a) Create and DFA or LR(0) items for this grammar.
(b) Create SLR(1) parsing table.
(c) Illustrate parsing stack and actions of SLR(1) parser for input string (()())
(d) Is this grammar LR(0) parsing table? If not, explain LR(0) conflict. If so create LR(0) parsing table, and explain how parse might vary from SLR (1) parse.