Skip to content

Commit

Permalink
minor tweaks to wording
Browse files Browse the repository at this point in the history
  • Loading branch information
johnwickerson authored Jan 25, 2024
1 parent 9ffa630 commit e582c9e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/starting_guide.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Getting started
===============

It is strongly recommended that you should start working on your compilers coursework after finishing the lab exercises to have the time to implement a good number of features. Don't worry if you haven't properly done lab 3 yet, as lab 2 is a great starting point for the coursework, and might be the best example on how to structure your solutions. Thinking about how to structure the AST is one of the more challenging parts of the coursework, so you can focus on that and add code generation in later once you have more experience with that.
It is strongly recommended that you should start working on your compilers coursework straight after finishing the lab exercises, to have the time to implement a good number of features. Don't worry if you haven't properly done lab 3 yet, as lab 2 is a great starting point for the coursework, and might be the best example of how to structure your solutions. Thinking about how to structure the AST is one of the more challenging parts of the coursework, so you can focus on that and add code generation in later once you have more experience.

To get started, you are strongly recommend to get familiar with the code on the repository already, then think about how to handle an extremely simple program, such as:
To get started, you are strongly recommend to get familiar with the code in the repository already, then think about how to handle an extremely simple program, such as:

```
int f() {
Expand All @@ -22,6 +22,6 @@ Although we provide you with a pretty large set of tests, these do not cover all
Plagiarism and AI use
---------------------

One final thing, please don't copy any existing solutions from previous years you find online. In previous years we had quite a few groups do this and unsurprisingly they were all caught (some of us have been checking this coursework for 5 years and have seen most of the solutions online), and although you are targeting a different ISA than some years ago, there is still a lot you can copy as code generation is just one (arguably easier) part of the coursework. It can be fine to look at these solutions to get ideas on how to make high-level decisions like AST structure, but make sure you actually write the code yourself. The same goes for using LLMs (a.k.a. AI chatbots like ChatGPT) - if you want, use them to your advantage for debugging or prototyping, but be aware of blindly implementing a different compiler than you have been asked for or copying a solution that will get flagged for similarity with other solutions found online (as you know, ChatGPT simply learns from what is out there on the Internet). Remember that while it might look daunting at first, this coursework has been successfully completed by many generations of students before you, without access to ChatGPT and in significantly more difficult world circumstances, like lockdowns and pandemics.
One final thing, please don't copy any existing solutions from previous years you find online. In previous years we had quite a few groups do this and unsurprisingly they were all caught (some of us have been checking this coursework for 5 years and have seen most of the solutions online), and although you are targeting a different ISA compared to some years ago, there is still a lot you can copy as code generation is just one (arguably easier) part of the coursework. It can be fine to look at these solutions to get ideas on how to make high-level decisions like AST structure, but make sure you actually write the code yourself. The same goes for using LLMs (a.k.a. AI chatbots like ChatGPT) -- if you want, use them to your advantage for debugging or prototyping, but be aware of blindly implementing a different compiler than you have been asked for or copying a solution that will get flagged for similarity with other solutions found online (as you know, ChatGPT simply learns from what is out there on the Internet). Remember that while it might look daunting at first, this coursework has been successfully completed by many generations of students before you, without access to ChatGPT and in significantly more difficult world circumstances, like lockdowns and pandemics.

Good luck!
Good luck!

0 comments on commit e582c9e

Please sign in to comment.