Jump to content

Draft:ReScript (programming language)

From Wikipedia, the free encyclopedia
ReScript
Paradigmsfunctional, imperative, modular
First appearedAugust 31, 2016; 8 years ago (2016-08-31)
Stable release
11.1.3 /  ()
Filename extensions.res, .resi
Websitehttps://rescript-lang.org/


ReScript is a programming language that transpiles to JavaScript. It mainly provides a functional programming style. It provides a strong and static type system, which checks types consistency. ReScript is designed to allow easy integration of projects with the existing JavaScript ecosystem, and is used for modern web development, both front-end (web-browsers), and back-end applications (with Node).

History

[edit]

ReScript's syntax is derived from the Reason syntax, and the Javascript code emission was originally made by the project BuckleScript which was produced at Bloomberg.

In 2020, the BuckleScript and Reason toolchain was rebranded to ReScript, essentially creating a separate language that had different syntax from Reason and only compiled to JavaScript.[1]

References

[edit]
  1. ^ "BuckleScript & Reason Rebranding". rescript-lang. Retrieved 2022-09-11.