Darius Foo bio photo

Darius Foo


GitHub Bitbucket
fact := method(n, if (n == 0, 1, n * fact (n - 1)))

Iota is a source-to-source compiler which accepts Io language code and outputs JavaScript. It interoperates well with JavaScript and runs both in the browser and on the server.

It was written as an experiment for CodeCombat’s parser challenge (in which it won a prize!) and is currently being used in CodeCombat to facilitate playing in Io.

It’s completely open source and available on npm. Try it out here.