|Hw1 grades were updated according to the resubmissions.|
Some students completely disregarded the limitation on the number of lines you can change and the cost for any additional changed line (as stated under "General Info").
This resulted in a few students losing points due to resubmission and getting a lower grade.
In case it wasn't clear, the latest grade is the one that counts! Meaning that your resubmission grade is the one that counts towards your final grade even if it's lower than your original grade.
This time, and this time only, we've allowed you to keep the higher grade. We will not allow it again in future submissions!
HW2 grades and tests published
FAQ for HW3 opened and fix of hw3-tests.zip
|The test t2 was updated|
Update of hw3.pdf
|A mistake in syntax rule #16 was corrected. This is the only change.|
If you have downloaded the file, please update your pdf file.
HW3 is published
|Due date is December 23rd.|
This homework is mandatory.
Updates to hw1 tests
|We decided to accept alternative output for a couple of tests.|
We accepted these outputs because we feel they represent issues that weren't sufficiently clarified in the faq.
This refers to tests 7 and 3.
In test 7 we accepted outputs that did not allow unquoted strings to contain quotes
In test 3 we accepted outputs that assumed hex/binary/octal numbers need to contain at least a single digit (note that such numbers without any digits still met the requirements imposed by the homework).
Grades and test files have been updated accordingly.
Hw1 resubmission deadline is extended until Thursday (29th of November) to allow you to alter your resubmissions based on these outputs.
HW1 grades and tests published
|Unless you have "No" in the HW1_may_resubmit column, you can resubmit your solution.|
Please read resubmission guidelines under "General Info".
Resubmit by sending your fixed solution to Omer by email.
You have until 23:59 on Tuesday (November 27th) to resubmit (same deadline as hw2).
FAQ for HW2 opened
Submitting homework alone
|The homework in the course should be submitted in pairs.|
Some of you submitted hw1 alone without getting prior approval to do so.
Starting from hw2, unauthorized single submission won't be checked.
HW2 is published
|Due date is Novemeber 27th.|
This homework is optional.
Note regarding "longest lexeme"
|Please note that the rules we've learned in class are the guidelines flex uses to choose which rule to use.|
It is only applicable when your input can match 2 different regular expressions.
This guidelines are merely the way flex decides how to parse inputs given a set of regular expressions, and were mentioned in class so that you understand how flex works.
Do not confuse these guidelines with how you should parse inputs, nor should the guidelines determine the regular expression.
In hw1 we gave you a set of token descriptions (with a few examples) and it is up to you to build the right regular expressions for these tokens.
Use the guidelines we learned in class as a tool to force flex to choose the right rules and parse the inputs as intended.
String in hw1
|Over the last couple of days we've been getting a lot of questions on the overlap of STRING tokens and other token types.|
We've posted a new entry to the FAQ specifically on this topic to clarify and resolve any misunderstandings or alternate interpretations.
Make sure you read it.
Alex's reception hours
|Alex's reception hours will be held at Wednesdays 11:30.|
This is a permanent change.
|There was a bug in the selfcheck script (extra '/' in the path to the tests).|
A fixed version as been uploaded.
Make sure you run it on your submission before you submit.
If the script does not state "Ok to submit" that means your solution doesn't pass the provided tests and you will not be allowed to fix and resubmit it.
Updated test files and selfcheck script for hw1
|We've decided to accept both possible line numbers for unquoted strings (as mentioned in the faq a few days ago).|
Updated test outputs and an updated selfcheck script (that takes the 2 options in to account) are now available.
Omer's office hours
|Omer will have office hours tomorrow from 11:30 to 12:30.|
This is a one-time change since Omer's office hours today were cancelled due to elections
We are posting answers and clarifications in the FAQ
|Make sure you read it to keep updated.|
FAQ for HW1 opened
HW1 is published
|Due date is Novemeber 13th.|
This homework is mandatory.
|When working on the homework you will need to use the server csl2.|
Please make sure that you have access to it.
If you can't, email Omer.
|The homework schedule for this semester is available on the Syllabus page.|
Please note that this is an approximate schedule and it might change during the semester.