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

From Dr. Joey Paquet Web Site
Jump to: navigation, search
(Lecture Schedule)
(Lecture Schedule)
 
(24 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 <br>[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]
Line 45: Line 45:
 
||  
 
||  
 
||  
 
||  
*[ [[Media:COMP442-6421.1.introduction.2023.4.ppt|slides]] ] [ [https://bit.ly/3F9Z57P video 1/2] ] [ [https://bit.ly/38NQ6w8 video 2/2] ]  introduction
+
*[ [[Media:COMP442-6421.1.introduction.2023.4.ppt|slides]] ] [ [https://bit.ly/38NQ6w8 video] ]  introduction
 
||
 
||
 
* no lab
 
* no lab
Line 52: Line 52:
 
|| jan 16
 
|| jan 16
 
||
 
||
*[ [[Media:Assignment1.COMP442-6421.paquet.2023.4.zip|handout]] ]  [ 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] ] lexical analysis
 
*[ [[Media:COMP442-6421.2.lexical.ppt|slides]] ] [ [https://bit.ly/399HM9Z video] ] lexical analysis
Line 70: Line 70:
 
||
 
||
 
*project assignment 1 due (jan 29)  
 
*project assignment 1 due (jan 29)  
*[ 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)
+
*[ [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.2023.4.zip|handout]] ] [ 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 91: Line 91:
 
||
 
||
 
*[ [[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
Line 99: Line 98:
 
||
 
||
 
*project assignment 2 due (feb 19)  
 
*project assignment 2 due (feb 19)  
*[ 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)
+
*[ [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.2023.4.zip|handout]] ] [ 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 116: Line 117:
 
||
 
||
 
*project assignment 3 due (mar 5)  
 
*project assignment 3 due (mar 5)  
*[ 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)  
+
*[ [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.2023.4.zip|handout]] ] [ 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 137: Line 138:
 
||
 
||
 
*project assignment 4 due (mar 19)  
 
*project assignment 4 due (mar 19)  
*[ 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 21-22)  
+
*[ [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.2023.4.zip|handout]] ] [ 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 156: Line 157:
 
||
 
||
 
*project assignment 5 due (apr 2)
 
*project assignment 5 due (apr 2)
*[ 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)
+
*[ [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
Line 166: Line 167:
 
||
 
||
 
* final project due (apr 16)
 
* final project due (apr 16)
*[ 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)
+
*[ [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)
 
||
 
||
 
||
 
||
Line 174: Line 175:
 
|| apr 20 - may 2
 
|| apr 20 - may 2
 
||
 
||
* [ [[Media:Finalsample.COMP442-6421.paquet.2019.4.pdf|sample examination]] ] [ [[Media:finalExamination.grades.COMP442-6421.paquet.2023.4.pdf|grades distribution]] ]final examination (TBD, 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 181: 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 13: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