Content deleted Content added
Update the latest stable version |
Add references to ReScript and BuckleScript rebranding. |
||
Line 16:
}}
'''Reason''', also known as '''ReasonML''', is a [[syntax (programming languages)|syntax]] extension and [[toolchain]] for [[OCaml]] created by Jordan Walke, who also created [[React (web framework)|React]], at [[Facebook]].<ref>{{Cite web|url=http://2ality.com/2017/11/about-reasonml.html|title=What is ReasonML?|website=2ality|access-date=2019-03-23}}</ref> Reason offers a syntax familiar to [[JavaScript]] programmers, and
The Reason community officially provides ReasonReact as a solution for [[React (web framework)|React]] based web applications.<ref>{{cite web |url=https://reasonml.github.io/reason-react/en/ |title=ReasonReact |website=[[GitHub]]}}</ref><ref>{{cite web |url=https://dev.to/iwilsonq/reasonml-with-react-hooks-tutorial-building-a-pomodoro-timer-57h0 |title=ReasonML with React Hooks Tutorial — Building a Pomodoro Timer |date=2019-04-15 |first=Ian |last=Wilson}}</ref>
== BuckleScript and ReScript ==
Reason was originally compiled to JavaScript using the BuckleScript compiler<ref>{{cite web |url=https://www.bloomberg.com/company/press/open-source-at-bloomberg-introducing-bucklescript/ |title=BuckleScript |website=bloomberg|access-date=2022-09-11}}</ref>, which was created at [[Bloomberg L.P.]].
In 2020, BuckleScript was rebranded to [[ReScript (programming language)|ReScript]], essentially creating a separate language that had different syntax from Reason and only compiled to JavaScript<ref>{{cite web |url=https://rescript-lang.org/blog/bucklescript-is-rebranding |title=BuckleScript & Reason Rebranding |website=rescript-lang|access-date=2022-09-11}}</ref>.
The ReScript compiler continues to support Reason syntax, and the two languages share that part of the toolchain.
== See also ==
Line 24 ⟶ 32:
* [[Elm (programming language)|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
* [[ReScript (programming language)|ReScript]]: a functional programming language that compiles to JavaScript and shares part of the Reason/OCaml toolchain
== References ==
|