Save this video — free

CSCD 420 Oct 15 2026

Chris Cain · 50:43 · Watch on YouTube

CSCD 420 Oct 15 2026 Watch on YouTube →

Overview

Chris Cain reviews regular expressions and context-free grammar construction, emphasizing how to encode exact or bounded symbol counts, inequalities between counts, language operations, and modular string lengths. The class then connects lambda-NFA subset construction with regular grammars, working through exam-oriented methods for handling lambda transitions and converting left- or right-linear productions into automata.

Key takeaways

Chapters

0:00 Regular Expressions for Exactly Two A’s
2:00 Encoding at Most Three A’s with Optional Symbols
5:00 Requiring A, B, and C in Any Order
8:40 Starting the Grammar Practice Set
18:00 A Grammar for More A’s Than B’s
23:00 Constructing Star Closure Without Invalid Derivations
29:00 Simplifying Grammar Union and Complement Expressions
35:00 Grammar Rules for Concatenation, Powers, and Modulo Lengths
40:00 Converting a Lambda-NFA by Tracking State Sets
46:00 Converting Linear Grammars into NFAs

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

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.