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

  1. Simple, fast & type safe code that leverages the JavaScript & OCaml ecosystems: facebook/reason, Facebook, 2019-03-23, https://github.com/facebook/reason, retrieved 2019-03-23 
  2. "What is ReasonML?". http://2ality.com/2017/11/about-reasonml.html. 
  3. Gopher, Stupid (2018-11-12). "One week with ReasonML". https://medium.com/@boltmick1/one-week-with-reasonml-890697bb924a. 
  4. "What & Why BuckleScript" (in en). https://bucklescript.github.io/index.html. 
  5. "ReasonReact". https://reasonml.github.io/reason-react/en/. 
  6. Wilson, Ian (2019-04-15). "ReasonML with React Hooks Tutorial — Building a Pomodoro Timer". https://dev.to/iwilsonq/reasonml-with-react-hooks-tutorial-building-a-pomodoro-timer-57h0. 

External links

  • Official website
  • ReasonReact





Retrieved from "https://handwiki.org/wiki/index.php?title=Reason_(syntax_extension_for_OCaml)&oldid=112027"

Categories: [Cross-platform free software] [Extensible syntax programming languages] [Free compilers and interpreters] [Functional languages] [ML programming language family] [Object-oriented programming languages] [Pattern matching programming languages] [Statically typed programming languages] [High-level programming languages]


Download as ZWI file | Last modified: 08/21/2024 20:39:40 | 2 views
☰ Source: https://handwiki.org/wiki/Reason_(syntax_extension_for_OCaml) | License: CC BY-SA 3.0

ZWI is not signed. [what is this?]