To install CodeGrinder:
grind tool (copy and paste the
command)You should now be ready to download an assignment. From the command line:
grind list to see your assignments. Each has an ID number.grind get <id> with that ID number to download an assignment. It will
tell you the directory where the files are placed.Go into that directory using the cd command. To get into the directory of
assignments for this course:
cd ~/CS-2810
ls
Change into the project directory from there:
cd riscv-hello-world
or whatever the project directory is named.
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
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.