Skip to content
Snippets Groups Projects
Commit f36dbea2 authored by Noe Eric De Santo's avatar Noe Eric De Santo
Browse files

Update lab handouts to include slides

parent 9701827e
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
# 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)
......
......@@ -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]().
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment