CS 421: Programming Languages and Compilers
Machine Problem 4 (MP4)

MP4 has you implement a lexer for PicoML. In this assignment, you will place your code in ml4.mll. This code must be correctly formatted as an ocamllex file. This file willbe compiled by ocamllex into ml4.ml. Keep in mind that your solution must alos produce ocmal code for a lexer that is syntactically correct and type correct. Otherwise the grading program will not compile and you will receive no points for the entire homework set.

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
mp4.pdf
mp4.tar.gz
mp4-sol.mll