How to determine whether a language is LL(1) LR(0) SLR(1)

前端 未结 7 1543
暗喜
暗喜 2020-12-08 07:56

Is there a simple way to determine whether a grammar is LL(1), LR(0), SLR(1)... just from looking on the grammar without doing any complex analysis?

For instance: To

7条回答
  •  没有蜡笔的小新
    2020-12-08 08:50

    One aspect, "is the language/grammar ambiguous", is a known undecidable question like the Post correspondence and halting problems.

提交回复
热议问题