This project was originally created by Hongbo Zhang in 2015. It was named BuckleScript and rebranded into ReScript in 2020.
The major contributions from contributors include
super_errorsfrom Cheng and Cristianoreact_jsx_ppxfrom Rickyrewatch(the new ReScript build system) from Roland and Jaap
Cristiano also contributed to several important patches in the upstream native compiler, in particular, the pattern match compilation.
More details are available here.
Thanks to the OCaml team, obviously, without such a beautiful yet practical language, this project would not exist.
ReScript builds on these parts of OCaml:
These modules were adapted from ocaml/bytecomp/simplif.ml for
JavaScript specific optimization purposes.
compiler/main/rescript_compiler_main.ml is adapted from ocaml/driver/main.ml. It is the main entry
point of the underlying compiler.
ReScript imported one file from jsoo
compiler/core/js_dump.ml(pretty printer)
This file was imported but changed significantly in iterations later.
tests/tests is based on ocaml/testsuite.
ReScript compiler unit test builds on OUnit
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.