The compiler for ReScript: a statically typed functional language focused on shipping.
npm install --save-dev rescript
See CONTRIBUTING.md.
ninja
is a truly well engineered scalable build toolThis project was originally created by Hongbo Zhang in 2015 andstill actively maintained by Hongbo Zhang hosted athere
It was named BuckleScript and rebranded into ReScript in 2020.The major contributions from contributors include super_errors fromCheng 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.
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.
前言 前端技术如今蓬勃发展,时时刻刻都有新的技术栈诞生,这使得各位前端们常常大呼学不动了。既然如此笔者为何还要去学一门和 TypeScript 类似的新语言呢,难道 TypeScript 不够用嘛。 TypeScript 生态现在已经足够强大了,那么学习一个新的 ReScript 又有什么优势呢?ReScript 是对函数式友好的编程语言,函数默认自带柯里化,原生支持 pipe 功能,友好的类型推