Possible Duplicate:
How to determine whether a grammar is LL(1) LR(0) SLR(1)
Is there any direct way i.e. without constructing parsing table, to find out whether a grammar is SLR(1), LR(0), LR(1) or LALR(1).
For example, Here is the grammar
S->Sd|cAe
A->Sa|S|a
Now How can we found which class this grammar belongs to ? Is it SLR(1), LR(0), LR(1) or LALR(1) ?