This interpreter was written for this blog post and was based on the implementation showed in the book Types and Programming Languages.
In order to run the interpreter, clone this repo, and run:
$ node index.js <file>
You can also print the AST for the program by running:
$ node index.js --ast <file>