diff --git a/labs/labs_01.md b/labs/labs_01.md index 926a86abc2bab7a61e1c9294ff9e2528d6939702..2bc864ecbaf38df73b34121149422fa628854a29 100644 --- a/labs/labs_01.md +++ b/labs/labs_01.md @@ -10,7 +10,7 @@ Remember that you will use these programs in the remaining of the semester to te If you have questions about how a feature of Amy works, you can always look at the [Amy Specification](https://gitlab.epfl.ch/lara/cs320/-/blob/main/labs/amy_specification.md). It's a good idea to keep a local copy of this document handy -- it will be your reference for whenever you are asked to implement an aspect of the Amy language throughout this semester. -# Part 2: An Interpreter for Amy +# Part 2: An Interpreter for Amy ([Slides](slides/lab01.pdf)) The main task of the first lab is to write an interpreter for Amy. diff --git a/labs/labs_02.md b/labs/labs_02.md index e2fc3f61858c81b34b5a8992aff61a37c8ceb1c3..a62e5ec983a5734e222beaac03523e03e24be114 100644 --- a/labs/labs_02.md +++ b/labs/labs_02.md @@ -1,7 +1,8 @@ -# Lab 02: Lexer +# Lab 02: Lexer ([Slides](slides/lab02.pdf)) This assignment is the first stage of the Amy compiler. + ## Code Skeleton In this lab you will start your own compiler from scratch, meaning that you will no longer rely on the compiler frontend which was previously provided to you as a jar file. In this lab you will build the lexical analysis phase (`lexer`). Since practically none of the compiler's code will be shared with the previous lab, the new branch (lab02) contains a fresh skeleton. @@ -70,7 +71,7 @@ Comments and whitespace should not produce tokens. (The most convenient way of d For reference, here is a possible output for the example under `examples/Hello.scala`. You can always get reference output for the lexer from the reference compiler by typing ``` -java -jar amyc_2.12-1.X.jar --printTokens <files> +java -jar amyc-assembly-1.7.jar --printTokens <files> ``` ``` KeywordToken(object)(1:1) diff --git a/labs/labs_03.md b/labs/labs_03.md index f989889c1fa4dc5643387f616253d65700877c46..ec99e13480f9513e60500f16ceea659507e1753e 100644 --- a/labs/labs_03.md +++ b/labs/labs_03.md @@ -168,7 +168,8 @@ The structure of your project `src` directory should be as follows: └── UniqueCounter.scala ## Deliverables +You are given **? weeks** for this assignment. -You have *TBD* weeks to complete this assignment. +Deadline: *TBD*. -**Deadline: Wednesday *TBD* October, 23:00** +Submission: one team member submits a zip file submission-groupNumber.zip to the [moodle submission page]().