The compiler for ReScript.
Please see the documentation site.
- 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,
ninjais 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
vendor/ninja.tar.gz contains the vendored ninja.
Refer to its copyright and license notices for information about its licensing.
ReScript builds on parts of js_of_ocaml:
ReScript builds on parts of OCaml:
These modules were adapted from
jscomp/main/js_main.ml is adapted from
ocaml/driver/main.ml. It is the main entry
point of the underlying compiler.
jscomp/stdlib-* is copied from
jscomp/test is based on
ReScript unit test builds on parts of OUnit
jscomp/ounitis adapted from ounit, the unit test utilities are only used for dev purpose, they are not required for distribution