Install CodeGrinder

To install CodeGrinder, run the main install script for CS 2810. Then click on a CodeGrinder assignment in Canvas and follow the instructions for logging in:

You should now be ready to download an assignment. From the command line:

Problem instructions are in the doc directory and there is normally a .s file that you need to edit, e.g., hw.s. When you are ready to test your solution:

make

When everything works and you are ready to submit for grading:

grind grade

Editting files

To edit a file from within the current directory, type the name of the editor followed by the name of the file:

micro hw.s

micro is a simple terminal editor that is good for basic tasks. For Linux users it should be installed if you used the installation instructions I provided.

Editors like micro (and more sophisticated editors like vim and emacs) work in the terminal text window without requiring a separate graphical window. This is useful when working on remote servers or other environments where a text window may be all that is available.