Hi
I was wondering if one of you geniuses could figure this out. I am doing an exercis eon grmmars and i am notsure of the answer but I think that its SLR(1)
Am I correct?


Is the following SLR(1)
S -> A
A -> Ba
A -> C
B -> aC
B -> b
C -> B

maybe this link will help

http://lambda.uta.edu/cse5317/notes/node20.html

Recommended Answers

All 2 Replies

Well how far ahead do you have to look to resolve the grammar?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.