Difference between revisions of "COMP442/6421 - winter 2018"

From Dr. Joey Paquet Web Site
Jump to: navigation, search
(Lecture Schedule)
(Lecture Schedule)
 
(12 intermediate revisions by one user not shown)
Line 53: Line 53:
 
*[[Media:COMP442-6421.2.lexical.ppt|lexical analysis]]
 
*[[Media:COMP442-6421.2.lexical.ppt|lexical analysis]]
 
||
 
||
*[[Media:Comp442-6421.lab1.pptx|lab slides for assignment #1]]
+
*[[Media:COMP442-6421.lab1.pdf|lab slides 1]]
 
|-
 
|-
 
|| week 3
 
|| week 3
Line 70: Line 70:
 
*[[Media:COMP442-6421.4.SyntaxII.pdf|top-down parsing I]]
 
*[[Media:COMP442-6421.4.SyntaxII.pdf|top-down parsing I]]
 
||
 
||
*[[Media:Comp442-6421.lab2.pptx|lab slides for assignment #2]]
+
*[[Media:COMP442-6421.lab2.pdf|lab slides 2]]
 
*[[Media:AtoCCGrammars.zip|AtoCC kfgEdit grammar files]]
 
*[[Media:AtoCCGrammars.zip|AtoCC kfgEdit grammar files]]
 
|-
 
|-
Line 80: Line 80:
 
*[[Media:COMP442-6421.6.SDT.pdf|syntax-directed translation I]]
 
*[[Media:COMP442-6421.6.SDT.pdf|syntax-directed translation I]]
 
||
 
||
 +
*[[Media:COMP442-6421.lab3.pdf|lab slides 3]]
 
|-
 
|-
 
|| week 6
 
|| week 6
Line 88: Line 89:
 
*[[Media:COMP442-6421.8.SDTAST.pdf|AST generation using SDT]]
 
*[[Media:COMP442-6421.8.SDTAST.pdf|AST generation using SDT]]
 
||
 
||
 +
*[[Media:COMP442-6421.lab4.pdf|lab slides 4]]
 
|-
 
|-
 
|| mid-term break
 
|| mid-term break
Line 103: Line 105:
 
*[[Media:COMP442-6421.9.VisitorSymTab.pdf|Tree traversal and symbol table generation]]
 
*[[Media:COMP442-6421.9.VisitorSymTab.pdf|Tree traversal and symbol table generation]]
 
||
 
||
*[[Media:VisitorExample.zip|Visitor example in Java]]
+
*[[Media:COMP442-6421.lab5.pdf|lab slides 5]]
 
|-
 
|-
 
|| week 8
 
|| week 8
Line 128: Line 130:
 
*[[Media:COMP442-6421.12.CodeGenerationI.pdf|code generation I]]
 
*[[Media:COMP442-6421.12.CodeGenerationI.pdf|code generation I]]
 
||
 
||
 +
*[[Media:COMP442-6421.lab6.pdf|lab slides 6]]
 
|-
 
|-
 
|| week 11
 
|| week 11
Line 135: Line 138:
 
*[[Media:COMP442-6421.13.CodeGenerationII.pdf|code generation II]]
 
*[[Media:COMP442-6421.13.CodeGenerationII.pdf|code generation II]]
 
||
 
||
 +
*[[Media:ASTVisitorCodeGenerationFinal.zip|Visitor for all phases]]
 
|-
 
|-
 
|| week 12
 
|| week 12
Line 151: Line 155:
 
|-
 
|-
 
|| week 13
 
|| week 13
|| apr 15-17
+
|| apr 16-19
 
||
 
||
 
*project assignment 4 due
 
*project assignment 4 due

Latest revision as of 07:41, 5 April 2018

Contents

Course Description

COMP 442/6421 - Compiler Design (4 credits)

Prerequisites (COMP442): COMP 228 or SOEN 228 or COEN 311; COMP 335; COMP 352 or COEN 352
Prerequisites (COMP6421): COMP 5201, 5361, 5511.

Compiler organization and implementation. Programming language constructs, their syntax and semantics. Syntax directed translation, code optimization. Run-time organization of programming languages. Project. Lectures: three hours per week. Laboratory: two hours per week.

Course Schedule and Contacts

component day time location instructor e-mail address
lecture NN M------ 17:45-20:15 H 433 Paquet, Joey paquet@cse.concordia.ca
office hours -T----- 10:00-12:00 EV 3.221 Paquet, Joey
lab hours NI M------ 20:30-22:20 H 819 Haotao Lai h_lai@encs.concordia.ca
lab hours NJ M------ 15:45-17:30 H 823 Jashanjot Singh s_jashan@encs.concordia.ca
lab hours NK M------ 20:30-22:20 H 823 Jashanjot Singh s_jashan@encs.concordia.ca

Lecture Schedule

wk date event lectures topics/material lab material
week 1 jan 8
week 2 jan 15
week 3 jan 22
week 4 jan 29
week 5 feb 5
week 6 feb 12
mid-term break feb 19 - feb 25
week 7 feb 26
week 8 mar 5
week 9 mar 12
  • [mar 19] deadline for withdrawal
week 10 mar 19
week 11 mar 26
week 12 apr 2
  • University closed
week 12 apr 9
week 13 apr 16-19
examination week apr 18 - may 1
  • final examination: apr 30th, 19h-22h, H429&H431

Course Material and Resources