1. 13

  2. 3

    Make JavaScript Great Again!

    I wish I knew OCaml better to comment on specifics, but this seems great! They seem to have taken a similar approach to the original CoffeeScript, which is to minimize the cruft of the output as much as possible and make it correspond as closely as possible to the original code as possible. I’d be curious to see what debugging logic errors looks like in here – obviously, you’ll never get an error based purely on utilizing the wrong type, though I guess it’s possible if you call out to external JS…

    1. 1

      If you like this and you use .net you should also check out Fable! It turns F# into readable javascript, F# is extremely close to ocaml, but for .net.