Reason (syntax extension for OCaml)
From HandWiki
Designed by | Jordan Walke |
---|---|
First appeared | May 16, 2016[1] |
Stable release | 3.6.0
/ March 5, 2020 |
License | MIT License |
Filename extensions | .re, .rei |
Website | reasonml |
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
- ↑ 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
- ↑ "What is ReasonML?". http://2ality.com/2017/11/about-reasonml.html.
- ↑ Gopher, Stupid (2018-11-12). "One week with ReasonML". https://medium.com/@boltmick1/one-week-with-reasonml-890697bb924a.
- ↑ "What & Why BuckleScript" (in en). https://bucklescript.github.io/index.html.
- ↑ "ReasonReact". https://reasonml.github.io/reason-react/en/.
- ↑ 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