rescript

ReScript toolchain

Usage no npm install needed!

<script type="module">
  import rescript from 'https://cdn.skypack.dev/rescript';
</script>

README

ReScript

The compiler for ReScript.

npm version Build Status

Installation

npm install --save-dev rescript

Documentation

Please see the documentation site.

Contribution

See CONTRIBUTING.md.

Acknowledgments

  • Thanks to the OCaml team, obviously, without such a beautiful yet practical language, this backend would not exist
  • Thanks to ninja-build, ReScript also comes with a blazing fast build tool on top of it, ninja is a truly well engineered scalable build tool
  • Thanks to Bloomberg and Facebook. This project began at Bloomberg and was published in 2016; without the support of Bloomberg, it would not have happened. This project's funded by Facebook since July 2017

History

This project was originally created by Hongbo Zhang in 2015 and still actively maintained by Hongbo Zhang hosted at here

It was named BuckleScript and rebranded into ReScript in 2020. The major contributions from contributors include super_errors from Cheng and Cristiano, react_jsx_ppx from Ricky. Cristiano also contributed to several important patches in the upstream native compiler, in particular, the pattern match compilation.

More details are available here.

Licensing

See COPYING and COPYING.LESSER

The ocaml directory contains the official OCaml compiler (version 4.06.1). Refer to its copyright and license notices for information about its licensing.

The vendor/ninja.tar.gz contains the vendored ninja. Refer to its copyright and license notices for information about its licensing.

Note that OSS is for sharing of knowledge, but the authorship should be respected. Copyright headers in each file, Acknowledgements and History section in this file should be kept intact.

See Credits for more details.