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

From Dr. Joey Paquet Web Site
Jump to: navigation, search
(Course Schedule and Contacts)
(Lecture Schedule)
 
(40 intermediate revisions by one user not shown)
Line 21: Line 21:
 
|| in-person lecture NN    || <tt>M------</tt>      || <tt>17:45-20:15</tt> || H-920 <br> [https://www.youtube.com/channel/UCJuTFcB9yqK-wI2LHK-RyGQ [YouTube]] || Paquet, Joey      || [mailto:joey.paquet@concordia.ca joey.paquet@concordia.ca]   
 
|| in-person lecture NN    || <tt>M------</tt>      || <tt>17:45-20:15</tt> || H-920 <br> [https://www.youtube.com/channel/UCJuTFcB9yqK-wI2LHK-RyGQ [YouTube]] || Paquet, Joey      || [mailto:joey.paquet@concordia.ca joey.paquet@concordia.ca]   
 
|-
 
|-
|| office hours  || <tt>M------</tt>      || <tt>10:00-12:00</tt> || ER-11-49 [https://concordia-ca.zoom.us/j/89150776684 [zoom]]    || Paquet, Joey      ||     
+
|| office hours  || <tt>M------</tt>      || <tt>10:00-12:00</tt> || ER-11-49 <br>[https://concordia-ca.zoom.us/meeting/86596689295 [zoom]]    || Paquet, Joey      ||     
 
|-
 
|-
 
|| lab NN NI    || <tt>M------</tt>      || <tt>20:30-22:20</tt> || H-907    || Jafarpour, Hamed  || [mailto:jafarpour.ha@gmail.com jafarpour.ha@gmail.com]
 
|| lab NN NI    || <tt>M------</tt>      || <tt>20:30-22:20</tt> || H-907    || Jafarpour, Hamed  || [mailto:jafarpour.ha@gmail.com jafarpour.ha@gmail.com]
 
|-
 
|-
 
|| lab NN NJ    || <tt>M------</tt>      || <tt>15:45-17:35</tt> || H-907    || Marhwal, Vashisht || [mailto:vmarhwal97@gmail.com vmarhwal97@gmail.com]
 
|| lab NN NJ    || <tt>M------</tt>      || <tt>15:45-17:35</tt> || H-907    || Marhwal, Vashisht || [mailto:vmarhwal97@gmail.com vmarhwal97@gmail.com]
 +
|-
 
|| marker        ||                        ||                      ||                                                        || Jafarpour, Hamed  || [mailto:jafarpour.ha@gmail.com jafarpour.ha@gmail.com]
 
|| marker        ||                        ||                      ||                                                        || Jafarpour, Hamed  || [mailto:jafarpour.ha@gmail.com jafarpour.ha@gmail.com]
 
|-
 
|-
Line 41: Line 42:
 
|-
 
|-
 
|| week 1
 
|| week 1
|| jan 10
+
|| jan 9
 
||  
 
||  
 
||  
 
||  
*[ [[Media:COMP442-6421.1.introduction.2022.4.ppt|slides]] ] [ [https://bit.ly/3F9Z57P video 1/2] ] [ [https://bit.ly/38NQ6w8 video 2/2] ] [ [https://concordia-ca.zoom.us/j/86986087264 zoom] ] introduction
+
*[ [[Media:COMP442-6421.1.introduction.2023.4.ppt|slides]] ] [ [https://bit.ly/38NQ6w8 video] ] introduction
 
||
 
||
 
* no lab
 
* no lab
 
|-
 
|-
 
|| week 2
 
|| week 2
|| jan 17
+
|| jan 16
 
||
 
||
*[ [[Media:Assignment1.COMP442-6421.paquet.2022.4.zip|handout]] ]  [ [https://bit.ly/3nBkssF video] ] project assignment #1 (lexical analyzer)
+
*[ [[Media:Assignment1.COMP442-6421.paquet.2023.4.zip|handout]] ]  [ [https://bit.ly/3WfbHmL video] ] project assignment #1 (lexical analyzer)
 
||
 
||
*[ [[Media:COMP442-6421.2.lexical.ppt|slides]] ] [ [https://bit.ly/399HM9Z video] ] [ [https://concordia-ca.zoom.us/j/86986087264 zoom] ] lexical analysis
+
*[ [[Media:COMP442-6421.2.lexical.ppt|slides]] ] [ [https://bit.ly/399HM9Z video] ] lexical analysis
 
||
 
||
 
*[ [[Media:COMP442-6421.lab.01.introduction.2022.4.pdf|slides]] ] introduction
 
*[ [[Media:COMP442-6421.lab.01.introduction.2022.4.pdf|slides]] ] introduction
 
|-
 
|-
 
|| week 3
 
|| week 3
|| Jan 24
+
|| Jan 23
 
||
 
||
 
||
 
||
Line 66: Line 67:
 
|-
 
|-
 
|| week 4
 
|| week 4
|| jan 31
+
|| jan 30
 
||
 
||
*project assignment 1 due (jan 30)  
+
*project assignment 1 due (jan 29)  
*[ [https://docs.google.com/spreadsheets/d/1QqG9JF6A-055zQ70nO2h0hT-BeajtLk6tMX-JRqMsjs/ schedule ] ] [ [[Media:COMP442_6421.assignment1.gradingSheet.paquet.2022.4.pdf|grading sheet]] ] [ [[Media:A1.grades.COMP442-6421.paquet.2022.4.pdf|grades]] ] project assignment 1 demonstrations (feb 1-2)
+
*[ [https://docs.google.com/spreadsheets/d/18FbxKrag02r-FNuweRnBjEdxywRveU-j5qDQ3EpYfq0/edit#gid=1074696973 schedule] ] [ [[Media:COMP442_6421.assignment1.gradingSheet.paquet.2023.4.pdf|grading sheet]] ] [ [[Media:A1.grades.COMP442-6421.paquet.2023.4.pdf|grades]] ] project assignment 1 demonstrations (jan 31-feb 1)
*[ [[Media:Assignment2.COMP442-6421.paquet.2022.4.zip|handout]] ] [ [https://bit.ly/34kDTza video] ] project assignment #2 (syntactic analyzer)
+
*[ [[Media:Assignment2.COMP442-6421.paquet.2023.4.zip|handout]] ] [ [https://bit.ly/3XV0E3F 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 77: Line 78:
 
|-
 
|-
 
|| week 5
 
|| week 5
|| feb 7
+
|| feb 6
 
||
 
||
 
||
 
||
Line 86: Line 87:
 
|-
 
|-
 
|| week 6
 
|| week 6
|| feb 14
+
|| feb 13
 
||
 
||
 
||
 
||
 
*[ [[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
*[ [[Media:COMP442-6421.8.SDTAST.ppt|slides]] ] [ [https://bit.ly/2NnC7VK video] ] AST generation using SDT
 
 
||
 
||
 
*[ [[Media:COMP442-6421.lab05.AST.2021.4.zip|slides]] ] [ [https://concordia.yuja.com/V/Video?v=500283&node=2085385&a=1657358570&autoplay=1 video] ] AST generation
 
*[ [[Media:COMP442-6421.lab05.AST.2021.4.zip|slides]] ] [ [https://concordia.yuja.com/V/Video?v=500283&node=2085385&a=1657358570&autoplay=1 video] ] AST generation
 
|-
 
|-
 
|| week 7
 
|| week 7
|| feb 21
+
|| feb 20
 
||
 
||
*project assignment 2 due (feb 20)  
+
*project assignment 2 due (feb 19)  
*[ [https://docs.google.com/spreadsheets/d/1sdfnMN8ZyfdCwTyBworZMFrFj9jCyI8DWRgaclLSI8A/ schedule] ] [ [[Media:COMP442_6421.assignment2.gradingSheet.paquet.2022.4.pdf|grading sheet]] ] [ [[Media:A2.grades.COMP442-6421.paquet.2022.4.pdf|grades]] ] project assignment 2 demonstrations (feb 22,23)
+
*[ [https://docs.google.com/spreadsheets/d/1ZEnESCyuYFabwOZB1rRoVh4Dp1t3dM1gIkUXM2vSIac/ schedule] ] [ [[Media:COMP442_6421.assignment2.gradingSheet.paquet.2023.4.pdf|grading sheet]] ] [ [[Media:A2.grades.COMP442-6421.paquet.2023.4.pdf|grades]] ] project assignment 2 demonstrations (feb 21,22)
*[ [[Media:assignment3.COMP442-6421.paquet.2022.4.zip|handout]] ] [ [https://youtu.be/CB_rP-Psdaw video] ] project assignment #3 (AST generation)
+
*[ [[Media:assignment3.COMP442-6421.paquet.2023.4.zip|handout]] ] [ [https://bit.ly/3lXSyJD video] ] project assignment #3 (AST generation)
 
||
 
||
 +
*[ [[Media:COMP442-6421.8.SDTAST.ppt|slides]] ] [ [https://bit.ly/2NnC7VK video] ] AST generation using SDT
 +
 
*[ [[Media:COMP442-6421.8.5.ASTgeneration.ppt|slides]] ] [ [https://youtu.be/_SatSSd8O58 video] ] AST generation concrete examples
 
*[ [[Media:COMP442-6421.8.5.ASTgeneration.ppt|slides]] ] [ [https://youtu.be/_SatSSd8O58 video] ] AST generation concrete examples
 
||
 
||
Line 106: Line 108:
 
|-
 
|-
 
|| midterm break
 
|| midterm break
|| feb 28 - mar 6
+
|| feb 27 - mar 5
 
||
 
||
 
||
 
||
Line 112: Line 114:
 
|-
 
|-
 
|| week 8
 
|| week 8
|| mar 7
+
|| mar 6
 
||
 
||
*project assignment 3 due (mar 6)  
+
*project assignment 3 due (mar 5)  
*[ [https://docs.google.com/spreadsheets/d/1tYLFlTPOqUUAuPy5o_a--CWR_gByY-oajZrBH2oBSHI/ schedule] ] [ [[Media:COMP442_6421.assignment3.gradingSheet.paquet.2022.4.pdf|grading sheet]] ] [ [[Media:A3.grades.COMP442-6421.paquet.2022.4.pdf|grades]] ] project assignment 3 demonstrations (mar 10-11)  
+
*[ [https://docs.google.com/spreadsheets/d/1cMu9M3eV1Ong-OVwHenoYY3PJ3kJftIJXBVsLTE_NLM/edit#gid=1074696973 schedule] ] [ [[Media:COMP442_6421.assignment3.gradingSheet.paquet.2023.4.pdf|grading sheet]] ] [ [[Media:A3.grades.COMP442-6421.paquet.2023.4.pdf|grades]] ] project assignment 3 demonstrations (mar 7-8)  
*[ [[Media:assignment4.COMP442-6421.paquet.2022.4.zip|handout]] ] [ [https://bit.ly/3vDjK30 video] ] project assignment #4 (semantic analysis)
+
*[ [[Media:assignment4.COMP442-6421.paquet.2023.4.zip|handout]] ] [ [http://bit.ly/3JmTosE video] ] project assignment #4 (semantic analysis)
 
||
 
||
 
*[ [[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 124: Line 126:
 
|-
 
|-
 
|| week 9
 
|| week 9
|| mar 14
+
|| mar 13
 
||
 
||
 
||
 
||
Line 133: Line 135:
 
|-
 
|-
 
|| week 10
 
|| week 10
|| mar 21
+
|| mar 20
 
||
 
||
*project assignment 4 due (mar 20)  
+
*project assignment 4 due (mar 19)  
*[ [https://docs.google.com/spreadsheets/d/1r5QK5djyyGjIpfI_s5IC2HVDptN3s-7CVoML9gYjarg/edit#gid=1074696973 schedule] ] [ [[Media:COMP442_6421.assignment4.gradingSheet.paquet.2022.4.pdf|grading sheet]] ] [ [[Media:A4.grades.COMP442-6421.paquet.2022.4.pdf|grades]] ] project assignment 4 demonstrations (mar 22-23)  
+
*[ [https://docs.google.com/spreadsheets/d/1DQJCxXsJpPDbpsYzwYmzpmpgX2Dw-NEBwrsY0_fpbno/edit#gid=1074696973 schedule] ] [ [[Media:COMP442_6421.assignment4.gradingSheet.paquet.2023.4.pdf|grading sheet]] ] [ [[Media:A4.grades.COMP442-6421.paquet.2023.4.pdf|grades]] ] project assignment 4 demonstrations (mar 22-23)  
*[ [[Media:assignment5.COMP442-6421.paquet.2022.4.zip|handout]] ] [ [https://bit.ly/3qhO9k0 video] ] project assignment #5 (code generation)
+
*[ [[Media:assignment5.COMP442-6421.paquet.2023.4.zip|handout]] ] [ [https://bit.ly/3qhO9k0 video] ] project assignment #5 (code generation)
 
||
 
||
 
*[ [[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 144: Line 146:
 
|-
 
|-
 
|| week 11
 
|| week 11
|| mar 28
+
|| mar 27
 
||
 
||
 
||
 
||
Line 152: Line 154:
 
|-
 
|-
 
|| week 12
 
|| week 12
|| apr 4
+
|| apr 3
 
||
 
||
*project assignment 5 due (apr 5)
+
*project assignment 5 due (apr 2)
*[ [https://docs.google.com/spreadsheets/d/1LgYBZBqyWyEubql6HaFmPx3RAld7rsJE4YdgGEIFvVQ/edit#gid=1074696973 schedule] ] [ [[Media:COMP442_6421.assignment5.gradingSheet.paquet.2022.4.pdf|grading sheet]] ] [ [[Media:A5.grades.COMP442-6421.paquet.2022.4.pdf|grades]] ] project assignment 5 demonstrations (apr 6-7)
+
*[ [https://docs.google.com/spreadsheets/d/1w89b0SwQEMHH3nY1R1DedoVx-iZZAicDdvy_xUK0SLA/ schedule] ] [ [[Media:COMP442_6421.assignment5.gradingSheet.paquet.2023.4.pdf|grading sheet]] ] [ [[Media:A5.grades.COMP442-6421.paquet.2023.4.pdf|grades]] ] project assignment 5 demonstrations (apr 4-5)
 
||
 
||
*[ [[Media:COMP442-6421.14.review.2022.ppt|slides]] ] [ [https://www.youtube.com/watch?v=NhmgRuCuess video] ] review and discussion on final examination
+
*[ [[Media:COMP442-6421.14.review.2023.ppt|slides]] ] [ [https://www.youtube.com/watch?v=NhmgRuCuess video] ] review and discussion on final examination
 
||
 
||
 
*[ [[Media:COMP442-6421.exercises.ppt|slides]] ] [ [https://www.youtube.com/watch?v=LNsiNcFh-uA video] ] exercises
 
*[ [[Media:COMP442-6421.exercises.ppt|slides]] ] [ [https://www.youtube.com/watch?v=LNsiNcFh-uA video] ] exercises
 
|-
 
|-
 
|| week 13
 
|| week 13
|| apr 11
+
|| apr 17
 
||
 
||
* final project due (apr 10)
+
* final project due (apr 16)
*[ [https://docs.google.com/spreadsheets/d/1PnYqbeZ_W1w4lamz-Tru4aECtR5KfccU5z4yGmBL-YM/edit#gid=1074696973 schedule] ] [ [[Media:COMP442_6421.final.project.demonstration.gradingSheet.paquet.2022.4.pdf|grading sheet]] ] [ [[Media:finalProjectDemonstration.grades.COMP442-6421.paquet.2022.4.pdf|grades distribution]] ] final project demonstrations (apr 11-13)
+
*[ [https://docs.google.com/spreadsheets/d/1S5TtptAmQu-w8EqHvDIsUh7tYuqZextXX6czHFjTu9c/edit#gid=1074696973 schedule] ] [ [[Media:COMP442_6421.final.project.demonstration.gradingSheet.paquet.2023.4.pdf|grading sheet]] ] [ [[Media:finalProjectDemonstration.grades.COMP442-6421.paquet.2023.4.pdf|grades distribution]] ] final project demonstrations (apr 17-19)
 
||
 
||
 
||
 
||
 
* no lab
 
* no lab
 
|-
 
|-
|| examination week
+
|| examination period
|| apr 19 - may 1
+
|| apr 20 - may 2
 
||
 
||
* [ [[Media:Finalsample.COMP442-6421.paquet.2019.4.pdf|sample examination]] ] [ [[Media:finalExamination.grades.COMP442-6421.paquet.2022.4.pdf|grades distribution]] ] final examination (apr 25, 19h00-22h00, online)
+
* [ [[Media:Finalsample.COMP442-6421.paquet.2019.4.pdf|sample examination]] ] [ [[Media:finalExamination.grades.COMP442-6421.paquet.2023.4.pdf|grades distribution]] ] final examination (confirmed -- apr 24, 19h00-22h00, H903 and H967)
 
||
 
||
 
||
 
||
Line 180: Line 182:
 
==Course Material and Resources==
 
==Course Material and Resources==
  
*[[Media:syllabus.COMP442-6421.paquet.2022.4.pdf|Course outline]]
+
*[[Media:syllabus.COMP442-6421.paquet.2023.4.pdf|Course outline]]
 
*[[Media:Moon.zip|Moon processor simulator: code, documentation, libraries, examples]]
 
*[[Media:Moon.zip|Moon processor simulator: code, documentation, libraries, examples]]

Latest revision as of 14:34, 10 April 2023

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
in-person lecture NN M------ 17:45-20:15 H-920
[YouTube]
Paquet, Joey joey.paquet@concordia.ca
office hours M------ 10:00-12:00 ER-11-49
[zoom]
Paquet, Joey
lab NN NI M------ 20:30-22:20 H-907 Jafarpour, Hamed jafarpour.ha@gmail.com
lab NN NJ M------ 15:45-17:35 H-907 Marhwal, Vashisht vmarhwal97@gmail.com
marker Jafarpour, Hamed jafarpour.ha@gmail.com
marker Marhwal, Vashisht vmarhwal97@gmail.com

Lecture Schedule

wk wk lecture date event lectures topics/material lab material
(for videos - see moodle)
week 1 jan 9
  • no lab
week 2 jan 16
  • [ handout ] [ video ] project assignment #1 (lexical analyzer)
week 3 Jan 23
week 4 jan 30
  • Programmer on duty
week 5 feb 6
  • [ slides ] [ video ] grammar transformation and parsing
week 6 feb 13
week 7 feb 20
  • Programmer on duty
midterm break feb 27 - mar 5
week 8 mar 6
  • [ slides ] [ video ] Tree traversal and symbol table generation
week 9 mar 13
  • Programmer on duty
week 10 mar 20
week 11 mar 27
week 12 apr 3
  • [ slides ] [ video ] review and discussion on final examination
week 13 apr 17
  • no lab
examination period apr 20 - may 2

Course Material and Resources