rescript-compilerThe compiler for ReScript.

联合创作 · 2023-10-02 02:10

Overview

The compiler for ReScript: a statically typed functional language focused on shipping.

npm version Build Status

Installation

npm install --save-dev rescript

Contribution

See CONTRIBUTING.md.

Acknowledgments

  • Thanks to the OCaml team, obviously, without such a beautiful yet practical language, this project would not exist. The original type system was inherited from it with lots of modifications to fit with JS ecosystem better.
  • 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.

浏览 9
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报