CS 421: Programming Languages and Compilers
Machine Problem 8 (MP8)
MP8 has you implement a lexer for MicroML. 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.

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

Files
mp8.pdf (v1.1) Replaced Mp8parser by Mp8common.
mp8grader.tar.gz (v1.2) Fixed that Makefile so that make dist would include solution.cmo, and ran the corrected version of make dist so that now solutioncmo (and everything else neeed) is now in mp8grader.tar.gz. Fixed the general handling of strings and comments.
mp8-sol.txt (change to mp8-sol.mll)
tests-full.txt