This project provides an introduction to OCaml programming and somewarm-up exercises involving tree manipulation and recursiveprogramming (both of which will be highly useful when building thecompiler). It will also familiarize you with the basic workflow of theprojects in this course, including the testing framework that we willuse to (partially) automate the grading of your projects.
(1) Assignment submission
Most of the instructions for this project are found as comments in thesource files. For this project, you should primarily fill thehellocaml.ml and submit your directory as assign1.tar.gz directory.
When we execute the following set of commands on a linux box, yoursubmission should execute the tests. If you create the tar file in thewrong fashion, it may not have the correct directory structure.
tar -zxvf assign1.tar.gzcd assign1./ocamlbuild main.native./main.native test
Instructions for creating the tar file. Lets say all your assign1 materials are in the assign1 directory
#lsassign1
#tar -c assign1 assign1.tar
#gzip assign1.tar
The last command should create assign1.tar.gz
(2) Grading
You will get no credit if your submitted program does not compile.Apart from the test already given, we will run some hidden tests. Yourpoints will be 65% for passing the given tests (with correctly writtencode) and 35% for the hidden tests.
Reviews
There are no reviews yet.