Reason (programming language)
Appearance
![]() | |
Designed by | Jordan Walke |
---|---|
First appeared | May 16, 2016[1] |
Stable release | 3.8.1
/ June 28, 2022 |
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, who also created React, at Facebook.[2] Reason offers a syntax familiar to JavaScript programmers, and transpiles to OCaml. Statically typed Reason (or OCaml) code may be compiled to dynamically typed JavaScript using the ReScript compiler.[3]
The Reason community officially provides ReasonReact as a solution for React based web applications.[4][5]
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, retrieved 2019-03-23
- ^ "What is ReasonML?". 2ality. Retrieved 2019-03-23.
- ^ "Overview | ReScript Documentation". rescript-lang.org. Retrieved 2020-08-10.
- ^ "ReasonReact". GitHub.
- ^ Wilson, Ian (2019-04-15). "ReasonML with React Hooks Tutorial — Building a Pomodoro Timer".
External links
Wikibooks has a book on the topic of: OCaml
Categories:
- Programming language topic stubs
- Cross-platform free software
- Extensible syntax programming languages
- Free compilers and interpreters
- Functional languages
- ML programming language family
- Object-oriented programming languages
- OCaml programming language family
- Pattern matching programming languages
- Statically typed programming languages
- Programming languages created in 2016
- High-level programming languages
- Software using the MIT license