Save this video free

[HD] EECS4302 F26 - 2026-09-15 (Tuesday) - Lecture 2

Jackie Wang · 1:10:15 · Watch on YouTube

Part of York University EECS3342/EECS4302. See all 36 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

Jackie Wang introduces compilers as automated, semantics-preserving transformations between languages, using examples such as Java-like object-oriented code mapped to relational databases. The lecture develops a feasibility test based on input-language scope and whether the target can express the source concepts, connects compiler implementations to ANTLR 4 grammars, and explains why analyzing arbitrary runtime behavior can be undecidable. It closes with software-design guidance for the course project, including modularity and information hiding.

Key takeaways

Chapters

0:00 Course Reminders and Java Preparation for the ANTLR 4 Tutorial
1:52 A Compiler Transforms Source Programs into Target Programs
4:40 Object Orientation as a Semantic Domain
7:25 Relational Databases and Object-to-Database Mapping
11:17 Logic as a Semantic Domain and the Compiler’s Basic Role
14:05 Translation Must Preserve the Input Program’s Semantics
17:20 Choosing the Input Language and Its Supported Features
26:18 Testing Whether the Target Language Can Express the Source
31:03 Two Compiler Layers: Program Instances and Their Grammars
40:12 Applying the Two Feasibility Questions to Compiler Projects
43:04 The A+ Challenge: Infer a Variable’s Final Dynamic Type
49:30 Why Arbitrary Runtime-Behavior Analysis Can Be Undecidable
53:20 Software-Engineering Principles and the Superman Module Anti-Pattern
59:50 Information Hiding, Stable Interfaces, and the Student-Class Design Exercise

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

Transcript excerpt

0:05 Okay. Uh so usually in the beginning of the class I'll just mention any reminders. Uh we haven't really released any assignment just yet. So what I want to mention today will be uh we spoke about your course syllabus last Thursday. Uh if you got anything unclear do let me know and recording is there and digest is there and you might find more value of digest uh since we uh after maybe we start talking about more technical content but for now I think it's just a road map okay also all the notes is there if you want to take notes all right and then those templates there and open letter you know take a look so you will see the design for the course and about class attendance uh again we have a very small group this semester so I I definitely be happy to give you as bonus for coming to classes. So we'll do

0:53 I clicker trial attendance today. We just want do one time, right? We can still count, you know, since you guys are here. Uh in case uh you are not really checking, you can always uh talk to me after class. We can fix that very quickly, right? That's not a problem. Okay. All right. Nothing much to say, but one more tip I do want to give to you guys since around maybe after week number four or five, we're going to give you the antler 4 tutorial for building compiler. That one is going to require a lots of Java. So your best interest will be to really pick up the Java programming skills maybe from your 2030 and also 21101. That should be sufficient for this course. Not really 3101, right? You don't need that advanced algorithm for this course. All

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, Jackie Wang.

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.