Skip to content

ReScript is a robustly typed language that compiles to efficient and human-readable JavaScript.

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
GPL-3.0
COPYING
LGPL-3.0
COPYING.LESSER
Notifications You must be signed in to change notification settings

rescript-lang/rescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2a5521c · Aug 31, 2020
Mar 12, 2020
Jul 26, 2020
Aug 24, 2020
Aug 31, 2020
Mar 24, 2020
Feb 26, 2020
Feb 16, 2020
Aug 31, 2020
Aug 31, 2020
Aug 31, 2020
Aug 31, 2020
Jan 30, 2020
Aug 31, 2020
Mar 14, 2020
Aug 31, 2020
Aug 31, 2020
Aug 31, 2020
Mar 5, 2018
Aug 24, 2020
Aug 12, 2020
Dec 21, 2017
Jul 13, 2020
Nov 1, 2019
Aug 24, 2020
Apr 29, 2016
Apr 29, 2016
Aug 13, 2020
Mar 9, 2016
Apr 29, 2016
Aug 12, 2020
Mar 2, 2020
Feb 16, 2020
Mar 12, 2020
Dec 4, 2019
Feb 21, 2020
Aug 12, 2020
Jul 18, 2020
Aug 31, 2020

Repository files navigation

The compiler for ReScript.

npm version Build Status

Documentation

Please see the documentation site.

Contributing

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

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.

ReScript builds on parts of js_of_ocaml:

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.

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