Jump to content

Reason (programming language)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Stifle (talk | contribs) at 09:16, 8 July 2019 (AFD closed as speedy keep (XFDcloser)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Reason
ParadigmMulti-paradigm: functional, imperative, object-oriented
Designed byJordan Walke
First appearedMay 16, 2016; 9 years ago (2016-05-16)[1]
Stable release
3.3.2 / August 6, 2018[2]
Typing disciplineInferred, static, strong, structural
LicenseMIT License
Filename extensions.re
Websitereasonml.github.io
Influenced by
OCaml

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

See also

  • Elm, a functional language that uses ports to communicate with JavaScript
  • TypeScript, a strongly-typed programming language that transpiles to JavaScript

References

  1. ^ Simple, fast & type safe code that leverages the JavaScript & OCaml ecosystems: facebook/reason, Facebook, 2019-03-23, retrieved 2019-03-23
  2. ^ "ReasonConf Videos & Reason 3.3.2! · Reason". reasonml.github.io. Retrieved 2019-03-23.
  3. ^ "What is ReasonML?". 2ality. Retrieved 2019-03-23.
  4. ^ Gopher, Stupid (2018-11-12). "One week with ReasonML". Medium. Retrieved 2019-03-23.
  5. ^ "What & Why BuckleScript". bucklescript.github.io. Retrieved 2019-03-23.