TinyML - Lexer, Parser, Interpreter, and Polymorphic Type Checker in Under 700 Lines of SML

Here is the source code and some documentation for my tiny implementation of a toy ML like language. Of interest is the fact that it does polymorphic type checking by first converting expressions in the full abstract syntax to combinator expressions. One of my goals with this program was to make it totally self contained, so it does not use lex or yacc. Check it out:

Visit the TinyML page