CS 421: Programming Languages and Compilers
Machine Problem 7 (MP7)
MP7 is composed of two parts: part A is general CPS questions; part B has you re-write your FUN evaluator in CPS style.

NOTE: Please download version 1.5 of the grader, 1.6 of the PDF.

NOTE: Part B is extra-credit for undergrads. Part A is required for all.

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

Files
Solutions
A/mp7A-sol.ml (Feb 03, 2010 2:57:27pm) - solution A
B/mp7B-sol.ml (Feb 03, 2010 2:57:27pm) - solution B

Documentation
mp7.pdf (Feb 03, 2010 2:57:27pm) - v1.6 Fixes error in evaluation of nullary constants, q15
v1.5 Fixes error in find_mink output

Problem files
A/mp7Agrader.tar.gz (Feb 03, 2010 2:57:27pm) - v1.5 Fixes find_mink to return first instance instead of last
B/mp7Bgrader.tar.gz (Feb 03, 2010 2:57:27pm) - grader B

For your enlightenment (not required)
A/mp7Acommon.ml (Feb 03, 2010 2:57:27pm) - mp7Acommon.cmo source
B/mp7Bcommon.ml (Feb 03, 2010 2:57:27pm) - mp7Bcommon.cmo source