Coding task

The coding task is to complete the Truffle-based implementation of the JaraScript AST interpreter. The baseline for the task is available in the master branch, but we encourage you to use the work-in-progress branch that we worked on during the lab as your starting point.

To successfully complete the task, you must pass all the tests in the TruffleEvaluationTest class. The task is worth 16 points if all the tests pass, or a proportional number of points if only some tests pass.

Please note that, for the time being, we will not assess the “partial evaluation readiness” of your code or the level of integration with the Truffle APIs. However, this will be needed in order to complete the next task.

In the upcoming lab, we will delve into some optimization techniques. While we don’t expect you to fully optimize the interpreter at this stage, it will be beneficial for you to already start exploring the IGV graphs and ways to improve the performance. Don’t spend too much time on optimization right now, but give it a try.

If you have any questions regarding the coding task, feel free to post an issue in the Forum or ask during the next lecture.

The deadline for completing the implementation is Tuesday, May 9 2023, 14:00.

Resources

For more resources, please refer to the materials from Week #7 and Week #8 labs (“Talk2compiler” labs).