All Computer Science courses are subject to the rules and regulations of the University (as described in the calendar [2]), the Faculty of Mathematics & Sciences and the policies [3] of the Department of Computer Science.
General Information
Description
COSC 4P75 is an introduction to compiler construction including lexical, syntactic and semantic analysis and code generation. Students will develop a complete compiler for a small Java-like language using recursive descent parsing and object-oriented techniques.
Instructor
David Hughes [1]
Lecture
Monday, Friday: 14:00-15:30, WH 209
Course Documents/Reference
- Course Outline [6]
- Project Language Syntax [7]
- Virtual Machine Instruction Set [8]
- Assignment Coversheet [9]
- Jamal download [10]
Schedule/News
News:
Lectures for COSC 4P75 begin Friday September 9. There will be no lecture Friday Sept. 30.
Schedule:
Lexical Analysis Assignment Due: Oct. 11 @ 12:00 noon Syntactic Analysis Assignment Due: Nov. 7 @ 12:00 noon Semantic Analysis Assignment Due: Dec. 5 @ 12:00 noon Code Generation Assignment Due: Jan 16, 2012 @ 12:00 noon
Course Materials
Text: none
Lectures:
- Introduction (slides: pdf [11]; podcasts: Sept 9 [12], Sept 12 [13])
- Lexical Analysis (slides: pdf [14]; podcasts: Sept 16 [15], Sept 19 [16])
- Syntactic Analysis (slides: pdf [17]; podcasts: Sept 23 [18], Sept 26 [19], Oct 3 [20], Oct 7 [21])
- Semantic Analysis (slides: pdf [22]; podcasts: Oct 14 [23], Oct 17 [24], Oct 21 (unavailable), Oct 24 [25], Oct 28 [26], )
- Code Generation (slides: pdf [27]; podcasts: Oct 31 [28], Nov 4 [29], Nov 7 [30], Nov 11 [31], Nov 14 [32], Nov 18 [33])
Examples:
- Introduction (zip [34])
- Lexical Analysis (zip [35])
- Syntactic Analysis (zip [36])
- Semantic Analysis (zip [37])
- Code Generation (zip [38])