BAM Weblog

Type Inference in JavaScript

Brian McKenna — 2011-05-15

Last week I read about Don Stewart’s method for productivity: releasing a project every week. I’ve been working on a language that compiles to JavaScript and thought that I could release it in modular parts.

This week I am releasing my JavaScript implementation of Hindley-Milner type inference (a.k.a. Algorithm W).

The source is on Bitbucket and I’ve generated some literate-style code docs using Docco. Check them out here:

Please enable JavaScript to view the comments powered by Disqus.