From: "Hongbo Zhang (BLOOMBERG/ 731 LEX)" <hzhang295@bloomberg.net>
To: caml-list@inria.fr
Subject: [Caml-list] [ANN] BuckleScript 1.7.4
Date: Thu, 25 May 2017 21:39:07 -0000 [thread overview]
Message-ID: <59274EFB02050538003909C0_0_96457@msllnjpmsgsv06> (raw)
[-- 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 --]
reply other threads:[~2017-05-25 21:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=59274EFB02050538003909C0_0_96457@msllnjpmsgsv06 \
--to=hzhang295@bloomberg.net \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).