Assignments
General Information
- All assignments are due at 11:00pm on the due date shown.
- The late penalty is 10% per day
- Each student has 5 grace days for the semester. Use them wisely.
- Each assignment has a limit to the number of grace days that can be applied.
- You can submit an assignment at most 3 days late
Tentative Schedule
Assignment | Weight | Max Grace Days | Due |
---|---|---|---|
Rosetta | 12 | 2 | 2/8 |
Lexer | 12 | 2 | 2/22 |
Parser | 12 | 2 | 3/12 |
Semantic Analysis Checkpoint | 12 | 2 | 4/5 |
Semantic Analysis | 12 | 2 | 4/23 |
Interpreter (final project) | 20 | 0 | 5/5 |
Assignment Resubmission
You may resubmit a single assignment to be regraded with the following caveats:
- The assignment must have been submitted before the original deadline, that is you cannot resubmit an assignment that was never submitted in the first place.
- The resubmission must be submitted via email with a subject line of “[CSC 310] Assignment Resubmission”
- The resubmission must be submitted before 11:00pm on April 29th.
Practice Exercises
The following practice exercise are from the course textbook, Programming Language Pragmatics, Fourth Edition, by Michael L. Scott, Morgan Kaufmann.
Lexical Analysis
- 2.1 p. 105
- 2.2 p. 106
Parsing
- 2.9 p. 107
- 2.11 p. 107
- 2.13 p. 108
- 2.15 a-c p. 109
- 2.15 d-e p. 109 (optional)
- 2.18 p. 110 (optional)
- 2.27 p. 111 (optional)