UNIVERSAL COMPILER: THEORY AND CONSTRUCTION


LECTURE NOTES: pdf files

Syllabus


01.Ad Hoc Compiler: Micro Scanner
02.Ad Hoc Compiler: Micro Grammar
03.Ad Hoc Compiler: Micro Parser
04.Ad Hoc Compiler: Micro Generator1
05.Ad Hoc Compiler: Micro Generator2
06.Ad Hoc Compiler: Example


07.Universal Compiler: Scanner Analysis
08.Universal Compiler: Scanner Driver


09.Universal Compiler: LL(1)Grammar
10.Universal Compiler: LL(1)Predict
11.Universal Compiler: LL(1)Lambda
12.Universal Compiler: LL(1)FirstFollow
13.Universal Compiler: LL(1)Table
14.Universal Compiler: LL(1)Generator
15.Universal Compiler: LL(1)Parser Driver


16.MidtermReview.2h
17.MidtermExam


18.Universal Compiler: Semantic Data
19.Universal Compiler: Semantic Stack
20.Universal Compiler: Semantic Example
21.Universal Compiler: Semantic Interm. Representation


22.Universal Compiler: Symbol Table
23.Universal Compiler: Symbol Block Table


24.ErrorRepair
25.ErrorRecovery


26.FinalReview
27.FinalExam