Asked • 05/25/19

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

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 decide whether a BNF Grammar is LL(1) you have to calculate First and Follow sets - which can be time consuming in some cases. Is there a way to do this faster?

1 Expert Answer

By:

Stanton D. answered • 05/01/20

Tutor
4.6 (42)

Tutor to Pique Your Sciences Interest

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.