Dear OCaml devs, (Disclaimer: This is my personal project at home, does not represent my current employer's opinions) I made a OCaml to Readable Javascript Playground( http://zhanghongbo.me/js-demo/) you may find interesting, you can do live coding inside the browser and see the output of Javascript immediately. It's still in very early stage, but it already supports the full language (with tons of bugs). Javascript is a truly amazing platform(not just in browsers, Bloomberg has millions lines of in-house Javascript code embedded!) and interests me a lot recently. The motivations is listed as below: 1. Readable (at least most skeletons are preserved), so that we can make use of existing Javascript tools, for example, I can use webstorm as GUI debugger to debug my OCaml code. 2. Easy FFI, all OCaml functions are plain Javascript functions, I borrowed some ideas from Alain (gen_js_api), so if you want to call Javascript from OCaml, just annotate types, even better, minimal code is generated, the user can call the function on the fly. 3. (working on) Dev mode/Release mode. Another work on the road map is do optimizations on lambda layer, cross module inlining, data flow anaylsis, global dead code elimination. 4. (to-do) Compile OCaml objects into Javascript Objects, better FFI for existing Javascript code base. There are some changes needed from OCaml compiler, but those changes are non-intrusive and mostly just pass down more information from front-end, I would clean up and submit some patches when it's ready. If we do some refactoring for the OCaml compiler (mostly use inline records instead of tuples for typedtree, that will the maintainance much easier in the future) Any feedback is welcome! Thank you -- Hongbo -- Regards -- Hongbo Zhang