CS 536 Lecture Notes
Note:
These notes will change as the class progresses. Please revisit this page often.
Tools
Make
JLex
JDB
RCS
Spim
Compilers
1. Overview
2. The Scanner
2a. Jlex
3. Context-Free Grammars
4.Syntax-Directed-Translation
4a.Java-Cup
5. Parsing
5a. General Parsing
5b. Top-Down Parsing
5c. Syntax-Directed Translation for Top-Down Parsing (Optional)
5d. Bottom-Up Parsing
6. Symbol Tables and Static Checks
7. Runtime Environments
8. Runtime Access to Variables
9. Code Generation
10. Parameter Passing
11. Optimization
Java for C++ Programmers
1. Java vs C++
2. Java Classes
3. Exceptions
4. Packages
5. Inheritance and Interfaces
6. I/O