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

From Dr. Joey Paquet Web Site
Jump to: navigation, search
(Course Schedule and Contacts)
(Lecture Schedule)
Line 51: Line 51:
 
|| jan 18
 
|| jan 18
 
||
 
||
*[ [[Media:Assignment1.COMP442-6421.paquet.2021.4.zip|handout]] ] [ [https://bit.ly/39Zl8QR video] ] project assignment #1 (lexical analyzer)
+
*[ [[Media:Assignment1.COMP442-6421.paquet.2022.4.zip|handout]] ] [ [https://bit.ly/39Zl8QR video] ] project assignment #1 (lexical analyzer)
 
||
 
||
 
*[ [[Media:COMP442-6421.2.lexical.ppt|slides]] ] [ [https://bit.ly/399HM9Z video] ] lexical analysis
 
*[ [[Media:COMP442-6421.2.lexical.ppt|slides]] ] [ [https://bit.ly/399HM9Z video] ] lexical analysis
Line 61: Line 61:
 
||
 
||
 
||
 
||
*[ [[Media:COMP442-6421.3.SyntaxI.ppt|slides]] ] [ [https://bit.ly/3coU3cT video] ] syntax analysis: introduction`
+
*[ [[Media:COMP442-6421.3.SyntaxI.ppt|slides]] ] [ [https://bit.ly/3coU3cT video] ] syntax analysis: introduction
 
||
 
||
 
*[ [[Media:COMP442-6421.lab02.lexer.2021.4.pdf|slides]] ] [ [https://concordia.yuja.com/V/Video?v=270541&node=1052627&a=1351646108&autoplay=1 video] ] lexical analysis
 
*[ [[Media:COMP442-6421.lab02.lexer.2021.4.pdf|slides]] ] [ [https://concordia.yuja.com/V/Video?v=270541&node=1052627&a=1351646108&autoplay=1 video] ] lexical analysis
Line 68: Line 68:
 
|| feb 1
 
|| feb 1
 
||
 
||
*project assignment 1 due (feb 12) [ [https://docs.google.com/spreadsheets/d/167vl4yHS95TRAPZNJLHr4G9y6KaJD-W2vk0ozFF14D0/ schedule] ] [ [[Media:COMP442_6421.assignment1.gradingSheet.paquet.2021.4.xlsx|grading sheet]] ]  
+
*project assignment 1 due (jan 31) [ [schedule] ] [ [[Media:COMP442_6421.assignment1.gradingSheet.paquet.2022.4.xlsx|grading sheet]] ]  
*[ [https://docs.google.com/spreadsheets/d/167vl4yHS95TRAPZNJLHr4G9y6KaJD-W2vk0ozFF14D0/edit schedule] ] project assignment 1 demonstrations (feb 16-17)
+
*[ [schedule] ] project assignment 1 demonstrations (feb 2-3)
*[ [[Media:Assignment2.COMP442-6421.paquet.2021.4.zip|handout]] ] [ [https://bit.ly/39XxgDr video] ] project assignment #2 (syntactic analyzer)
+
*[ [[Media:Assignment2.COMP442-6421.paquet.2022.4.zip|handout]] ] [ [video] ] project assignment #2 (syntactic analyzer)
 
||
 
||
 
*[ [[Media:COMP442-6421.4.SyntaxII.ppt|slides]] ] [ [https://bit.ly/2N3B50R video] ] top-down parsing I
 
*[ [[Media:COMP442-6421.4.SyntaxII.ppt|slides]] ] [ [https://bit.ly/2N3B50R video] ] top-down parsing I
Line 88: Line 88:
 
|| feb 15
 
|| feb 15
 
||
 
||
 +
*project assignment 2 due (feb 21)
 +
*[ [schedule] ] [ [[Media:COMP442_6421.assignment2.gradingSheet.paquet.2022.4.xlsx|grading sheet]] ] project assignment 2 demonstrations (feb 23,24)
 +
*[ [[Media:assignment3.COMP442-6421.paquet.2021.4.zip|handout]] ] [ [https://bit.ly/30h1R9h video] ] project assignment #3 (AST generation) (handout)
 
||
 
||
 
*[ [[Media:COMP442-6421.7.SDTII.ppt|slides]] ] [ [https://bit.ly/3sein5P video] ] syntax-directed translation II
 
*[ [[Media:COMP442-6421.7.SDTII.ppt|slides]] ] [ [https://bit.ly/3sein5P video] ] syntax-directed translation II
Line 97: Line 100:
 
|| feb 22
 
|| feb 22
 
||
 
||
*project assignment 2 due (mar 17)
 
*[ [https://docs.google.com/spreadsheets/d/1ayXEMJxM9u1x-24ihs0vGjmz2GsOWMUNgJ1aFBjM-Tk/edit#gid=1074696973 schedule] ] [ [[Media:COMP442_6421.assignment2.gradingSheet.paquet.2021.4.xlsx|grading sheet]] ] project assignment 2 demonstrations (mar 18,20)
 
*[ [[Media:assignment3.COMP442-6421.paquet.2021.4.zip|handout]] ] [ [https://bit.ly/30h1R9h video] ] project assignment #3 (symbol table creation) (handout)
 
 
||
 
||
 
*[ [[Media:COMP442-6421.9.VisitorSymTab.ppt|slides]] ] [ [https://bit.ly/30nBvCp video] ] Tree traversal and symbol table generation
 
*[ [[Media:COMP442-6421.9.VisitorSymTab.ppt|slides]] ] [ [https://bit.ly/30nBvCp video] ] Tree traversal and symbol table generation
Line 108: Line 108:
 
|| feb 28 - mar 6
 
|| feb 28 - mar 6
 
||
 
||
*[[Media:Assignment2.LL1grammar.COMP442-6421.2021.4.zip|LL(1) grammar]]
+
*[[Media:Assignment2.LL1grammar.COMP442-6421.2022.4.zip|LL(1) grammar]]
 
||
 
||
 
||
 
||
Line 115: Line 115:
 
|| mar 8
 
|| mar 8
 
||
 
||
 +
*[ [[Media:assignment4.COMP442-6421.paquet.2022.4.zip|handout]] ] [ [video] ] project assignment #4 (semantic analysis) (handout)
 +
*project assignment 3 due (apr 7)
 +
*[ [schedule] ] project assignment 3 demonstrations (mar 9-10)
 
||
 
||
 
*[ [[Media:COMP442-6421.10.BottomUpI.ppt|slides]] ] [ [https://bit.ly/2Ne2A8a video] ] bottom-up parsing I
 
*[ [[Media:COMP442-6421.10.BottomUpI.ppt|slides]] ] [ [https://bit.ly/2Ne2A8a video] ] bottom-up parsing I
Line 132: Line 135:
 
|| mar 22  
 
|| mar 22  
 
||
 
||
*[ [[Media:assignment4.COMP442-6421.paquet.2021.4.zip|handout]] ] [ [https://bit.ly/2PEDm3z video] ] project assignment #4 (code generation) (handout)
 
*project assignment 3 due (apr 5)
 
*[ [https://docs.google.com/spreadsheets/d/1v6M2q3MVsOb0Y-my1sMxKmJmO5k_G-BPLS0TKchwBFE/ schedule] ] project assignment 3 demonstrations (apr 6-7)
 
 
||
 
||
 
*[ [[Media:COMP442-6421.12.CodeGenerationI.ppt|slides]] ] [ [https://bit.ly/2Pp8S5u video] ] code generation I
 
*[ [[Media:COMP442-6421.12.CodeGenerationI.ppt|slides]] ] [ [https://bit.ly/2Pp8S5u video] ] code generation I
Line 143: Line 143:
 
|| mar 29
 
|| mar 29
 
||
 
||
*apr 5 : University closed
 
 
||
 
||
 
*[ [[Media:COMP442-6421.13.CodeGenerationII.ppt|slides]] ] [ [https://www.youtube.com/watch?v=VeLeFl_Pyqs video] ]  code generation II
 
*[ [[Media:COMP442-6421.13.CodeGenerationII.ppt|slides]] ] [ [https://www.youtube.com/watch?v=VeLeFl_Pyqs video] ]  code generation II
Line 152: Line 151:
 
|| apr 5
 
|| apr 5
 
||
 
||
*[ [[Media:COMP442_6421.final.project.demonstration.gradingSheet.paquet.2021.4.xlsx|handout]] ] final project grading sheet (handout)
+
*[ [[Media:COMP442_6421.final.project.demonstration.gradingSheet.paquet.2022.4.xlsx|handout]] ] final project grading sheet (handout)
 
*project assignment 4 due (apr 18)
 
*project assignment 4 due (apr 18)
*[ [https://docs.google.com/spreadsheets/d/1XVLaIzptGSHJlPiJi8rRTYyXTKG4VcBhNGaM1Jkx22o/ schedule] ] project assignment 4 demonstrations (apr 19-20)
+
*[ [schedule] ] project assignment 5 demonstrations (apr 6-7)
 
||
 
||
 
*[ [[Media:COMP442-6421.14.review.2021.ppt|slides]] ] [ [https://www.youtube.com/watch?v=NhmgRuCuess video] ] review and discussion on final examination
 
*[ [[Media:COMP442-6421.14.review.2021.ppt|slides]] ] [ [https://www.youtube.com/watch?v=NhmgRuCuess video] ] review and discussion on final examination
Line 163: Line 162:
 
|| apr 12
 
|| apr 12
 
||
 
||
* final project due (apr 20)
+
* final project due (apr 11)
*[ [https://docs.google.com/spreadsheets/d/1GZlhiCCBybFWzOADoinvjiVYgg4sNiQh2QOZgsUNDik/ schedule] ] final project demonstrations (apr 21-23)
+
*[ [schedule] ] final project demonstrations (apr 13-14)
 
||
 
||
 
||
 
||

Revision as of 11:37, 4 January 2022

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 email
lecture NN -Tu----- 17:45-20:15 [YouTube]
[zoom]
Paquet, Joey paquet@cse.concordia.ca
office hours --W---- 10:00-12:00 [zoom] Paquet, Joey
lab NN NI -Tu----- 20:30-22:20 [TBD [zoom]] Jafarpour, Hamed jafarpour.ha@gmail.com
lab NN NJ -Tu----- 15:45-17:35 [TBD [zoom]] Marhwal, Vashisht vmarhwal97@gmail.com
marker Jafarpour, Hamed jafarpour.ha@gmail.com
marker Marhwal, Vashisht vmarhwal97@gmail.com

Lecture Schedule

wk wk starting date event lectures topics/material lab material
(for videos - see moodle)
week 1 jan 11
week 2 jan 18
  • [ handout ] [ video ] project assignment #1 (lexical analyzer)
week 3 Jan 25
week 4 feb 1
  • project assignment 1 due (jan 31) [ [schedule] ] [ grading sheet ]
  • [ [schedule] ] project assignment 1 demonstrations (feb 2-3)
  • [ handout ] [ [video] ] project assignment #2 (syntactic analyzer)
  • Programmer On duty
week 5 feb 8
  • [ slides ] [ video ] grammar transformation and parsing
week 6 feb 15
  • project assignment 2 due (feb 21)
  • [ [schedule] ] [ grading sheet ] project assignment 2 demonstrations (feb 23,24)
  • [ handout ] [ video ] project assignment #3 (AST generation) (handout)
week 7 feb 22
  • [ slides ] [ video ] Tree traversal and symbol table generation
  • Programmer On Duty
midterm break feb 28 - mar 6
week 8 mar 8
  • [ handout ] [ [video] ] project assignment #4 (semantic analysis) (handout)
  • project assignment 3 due (apr 7)
  • [ [schedule] ] project assignment 3 demonstrations (mar 9-10)
  • [ slides ] [ video ] bottom-up parsing I
  • [ slides ] AST generation: supplementary lecture
week 9 mar 15
week 10 mar 22
week 11 mar 29
week 12 apr 5
  • [ handout ] final project grading sheet (handout)
  • project assignment 4 due (apr 18)
  • [ [schedule] ] project assignment 5 demonstrations (apr 6-7)
  • [ slides ] [ video ] review and discussion on final examination
week 13 apr 12
  • final project due (apr 11)
  • [ [schedule] ] final project demonstrations (apr 13-14)
examination week apr 19 - may 1

Course Material and Resources