It is impressive the code compiles down to 128K of js! Makes me rethink using haxe for this sort of thing. Interestingly I think haxe is written in ocaml.<p>The nice thing about haxe is it has cross platform tooling and libraries for games. The language itself is a little weird and seems homegrown but it works.<p>Hopefully some of this demo can get rolled into some kind of cross platform game library! I would love to write games in ocaml that target mobile&#x2F;desktop and web (via js).