This is where you would not want the terminals and stack language to share symbols right? Also in a rule with multiple options, like "A -> 0 | 1A" how would you match against that easily?
4:46... Left-most derivation. Why does A terminate at epsilon and never terminate at 0? Shouldn't the derived string be 2210epsilon? Or am I missing something because of the ordering? I see: A--> 0A | ε so I would first take A --> 0A which would turn into : [STATE] ε,A-->A [STATE] ε,ε-->0 [STATE] So shouldn't we have 2210 after all that? (and not simply 221?)
Those are two rules, and the grammar is non deterministic, you can take whichever you like, every time A comes up. Dr. Porter simply decided not to use the left rule in this particular derivation arbitrarily. 2210 would also be an accepted string.
Thanks prof i really feel like this just as efficient if not more than sitting in a lecture. I appreciate your dedication to teaching the untaught.
My test is at 4 today, watching these videos help me understand far more than the professor that I pay for. Thank you
At 5:21, I think "non-terminals" should be replaced with "terminals".
just pick ONE example and finish it for the love of jesus.
what do you mean?
this was 8 years ago how dare you do this to me@@Kokurorokuko
You gotta be ready to defend your words, bro, even 8 years later
This explains in a much better way than what my textbook does. Thank you so much.
This is where you would not want the terminals and stack language to share symbols right? Also in a rule with multiple options, like "A -> 0 | 1A" how would you match against that easily?
Thank you so much professor! You are saving my life!
4:46... Left-most derivation. Why does A terminate at epsilon and never terminate at 0? Shouldn't the derived string be 2210epsilon? Or am I missing something because of the ordering?
I see:
A--> 0A | ε
so I would first take A --> 0A
which would turn into :
[STATE] ε,A-->A [STATE] ε,ε-->0 [STATE]
So shouldn't we have 2210 after all that? (and not simply 221?)
I think it just clicked.
It is not 2210 because the zero does not matter.
The zero does not matter because of the epsilon.
Correct, correct?
Those are two rules, and the grammar is non deterministic, you can take whichever you like, every time A comes up. Dr. Porter simply decided not to use the left rule in this particular derivation arbitrarily. 2210 would also be an accepted string.
Thank you, great explanation !!
Same as Neso Academy
I can understand this video. I can't understand shit from Neso Academy.
Thank you very much sir. It was really insightful and cleared some points to me.
So amazingly
helpful, thank you so much!!
thank you it is very good lectures, i want the full course please
i need to know the applications of this field
and also i want the recent papers in LL(1)parser if possible, please
rania mahmoud you can find applications of these all over the net
Thank you for making this video!
is ur nam really harry porter???? very helpful though thanx