Save this video free

CSCD 420 Dec 02 2026

Chris Cain · 50:30 · Watch on YouTube

Part of Eastern Washington University CSCD 420. See all 41 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

The class moves from LL(k) parsing to LR parsing, showing how lookahead requirements depend on grammar structure and how an LL(5) table can grow to 364 columns over the alphabet A, B, C, and the end marker. LR parsing combines shift and reduce operations with dotted items, recursive closure, and a DFA to parse more grammars in linear time than LL parsing, though its construction requires substantial space and bookkeeping.

Key takeaways

Chapters

0:00 Course Deadlines and Final Exam Plans
2:00 LL(k) Lookahead for Nonterminals B, C, and S
4:00 Why an LL(5) Parsing Table Needs 364 Columns
8:00 Grammar Structure Can Prevent LL(k) Parsing
14:00 LR Parsing Extends Linear-Time Parsing Beyond LL
20:00 LR Shift and Reduce Decisions on an Example String
25:00 Dotted Items Track Progress Through Productions
29:00 Closure Expands Possible Reductions Recursively
35:00 A DFA Stores LR Items and Their Transitions
44:00 Parsing ABCAB with DFA States and Stack Backtracking

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:03 All right, so announcements. I made most of them a minute ago, but a couple of people have arrived since then. So time running out. We only have through Friday before we have a Wednesday exam for during our final slots in here next week. We have a last homework assignment that is due tonight. I can depending on how difficult it is to get that in by night, I may be for extending that a day or two depending on needs. I know we've been covering some of the material the last couple of days that have been on that. So I'm especially open to if you're needing a little bit more time depending on how that interfaces with your schedule. Then

0:50 we have a project due next week. Or it's not remotely erased. And we'll see what the rest of this week looks like. I want to get through the last couple slides here of LL parsing and talk about LR parsing. The study guide for the final is up now. So go ahead and take a look at that once you get a second. I will certainly dedicate Friday's class to a review, but I also want to get exam three back to you and go over that depending on how much time we have for that on Friday. We'll have to make a decision about how much of Friday to spend on review how much you get to go over exam three. If we decide to study for the final, then I would have

1:39 the exams available in my office for individual consultation going over it, going over any questions you have about it. So that's I think will take us through the end of the quarter. Anyone have any questions on schedule and upcoming events?

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Chris Cain.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.