Reason (syntax extension for OCaml)

From HandWiki
Reason
Designed byJordan Walke
First appearedMay 16, 2016; 8 years ago (2016-05-16)[1]
Stable release
3.6.0 / March 5, 2020
LicenseMIT License
Filename extensions.re, .rei
Websitereasonml.github.io

Reason, also known as ReasonML, is a syntax extension and toolchain for OCaml created by Jordan Walke at Facebook.[2] Reason offers a syntax familiar to JavaScript programmers, and transpiles to OCaml.[3] Statically typed Reason (or OCaml) code may be compiled to dynamically typed JavaScript using the BuckleScript compiler.[4]

The Reason community officially provides ReasonReact as a solution for React based web applications.[5][6]

See also

  • Elm: a functional language that uses an abstraction called ports to communicate with JavaScript
  • PureScript: a strongly-typed, purely-functional programming language that compiles to JavaScript

References

External links