ReScript builds on parts of OCaml:
These modules were adapted from ocaml/bytecomp/simplif.ml
for
JavaScript specific optimization purposes.
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 ocaml/stdlib
. It is compiled to JavaScript and included with ReScript.
ReScript imported one file from jsoo
jscomp/core/js_dump.ml
(pretty printer)
This file was imported but changed significantly in iterations later.
jscomp/test
is based on ocaml/testsuite
.
ReScript unit test builds on parts of OUnit
jscomp/ounit
is adapted from ounit, the unit test utilities are only used for dev purpose, they are not required for distribution