* [Caml-list] [ANN] BuckleScript 1.7.4
@ 2017-05-25 21:39 Hongbo Zhang (BLOOMBERG/ 731 LEX)
0 siblings, 0 replies; only message in thread
From: Hongbo Zhang (BLOOMBERG/ 731 LEX) @ 2017-05-25 21:39 UTC (permalink / raw)
To: caml-list
[-- Attachment #1: Type: text/plain, Size: 1319 bytes --]
Dear OCaml developers:
BuckleScript is an optimizing compiler for OCaml to generate readable JavaScript, it is open sourced by Bloomberg [1].
Main highlights:
1)Create a BuckleScript project and build it in a single command(works on all platforms with zero dependencies including Windows)
npm install -g bs-platform && bsb -init hello && cd hello && npm run build
Details: http://bloomberg.github.io/bucklescript/Manual.html#_using_existing_templates_since_1_7_4
2. Adding several modules to Js namespace, including Option, Result, List and Vector.
Note it is still work in progress, but these libraries are optimized for both
performance and size, they can provide an even smaller code size than current case.
Currently the BuckleScript compiler can already output very small JS size, the Mario Game(https://github.com/stweb/MariOCaml), only cost 7K gzipped JS size, with a specialized library, we believe it will generate even smaller and more efficient JS code.
Documentation is available here: http://bloomberg.github.io/bucklescript/Manual.html
A list of changes: https://github.com/bloomberg/bucklescript/blob/master/Changes.md#bucklescript-174may-24-2017
Happy hacking in OCaml! -- Hongbo
[1]: https://github.com/bloomberg/bucklescript/
[-- Attachment #2: Type: text/html, Size: 3381 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-05-25 21:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-25 21:39 [Caml-list] [ANN] BuckleScript 1.7.4 Hongbo Zhang (BLOOMBERG/ 731 LEX)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).