Lecture notes and examples for my class on formal languages and compilers.