CS 421: Programming Languages and Compilers
Machine Problem 2 (MP2)
MP2 will give you additional practice writing simple functions, and will focus more strongly on recursion. Again, keep in mind that your solution must define every required function, otherwise the grading program will not compile and you will receive no points for the entire homework set. For example, if you decide not to implement the function splat (for whatever reason), you need to have it defined as:
let splat x = raise (Failure(""))

IMPORTANT: Make sure that you read the README file in the grader bundle . This file contains important information.

IMPORTANT: Please download the updated version of the grader. This version contains a complete rubric and hopefully fixes and problems with the former version. The mp2.pdf document has also been updated to fix a mistake related to the multifold problem.

Also, make sure you read the "Guide for Doing MPs".

Files
mp2.pdf
mp2grader_student.tar.gz
mp2grader_student_v2.tgz
solution-mp2.ml
full-rubric.ml