This course has three mandetory assignments, which is handed in on Autolab.
To sign up either follow this link, or use the accces code 0DH0FX.
For all these assignments, the following rules apply:
Every student must hand-in their own report, computed on their own machine.
The evaluated analysis can be made in a group, but then the group name has to be the same.
You cannot use Rice Theorem Cookers
as the group name :).
Develop the best syntactic analysis you can! (Syntactic Analysis)
To pass this assignment, you need to achieve a total score of at least 100. Please consult JPAMB for how to setup the project.
To hand-in the assignment, you must create a file named report.sexp using the following command:
$ jpamb analyse --report report.sexp <your-program-analysis>Then you should check that the report was created correctly:
$ jpamb validate analyse report.sexpFinally, upload report.sexp to Syntactic Assignment on Autolab. You can upload as many times as you want before the deadline.
It will ask you to confirm that you have followed acedemic integrity policy, which is the same as DTU's.
To get started follow the exercises in Introduction and Syntactic Analysis.
We have an anonymous scoreboard, be sure to pick a nice nickname.
Develop the best interpreter you can and turn it into a dynamic analysis! (Dynamic Analysis)
To pass this assignment, you need to achieve a total score of at least 100 in the analysis part and be able to correctly execute at least half of the cases. Please consult JPAMB for how to setup the project.
First you should build your interpreter as described in Semantics, then evaluate it using:
$ jpamb interpret --report report.sexp <your-interpreter>Then you should check that the report was created correctly:
$ jpamb validate interpret report.sexpAfter which you can upload it to Concrete Interpreter Assignment on Autolab.
Then you have to turn your analysis into a dynamic analysis, to do this consult Dynamic Analysis.
$ jpamb analyse --report report.sexp <your-program-analysis>Then you should check that the report was created correctly:
$ jpamb validate analyse report.sexpUpload the report.sexp file to Dynamic Assignment on Autolab.
We have an anonymous scoreboard, be sure to pick a nice nickname.
If something is not working, first make sure you have the latest version of JPAMB. Currently it is version 0.7.1
$ uv pip list
...
jpamb 0.7.1
...If not, pull the latest version from github:
$ git pull --rebase
$ uv pip install --editable .If this does not fix your issue, check Github for open issues, and if your problem is not address there, either create a new issue or email the teacher.