Reason |
設計者 | Jordan Walke |
---|
发行时间 | 2016年5月16日,8年前(2016-05-16)[1] |
---|
当前版本 | - 3.11.0 (2024年2月25日;穩定版本)[2]
|
---|
許可證 | MIT许可证 |
---|
文件扩展名 | .re, .rei |
---|
網站 | reasonml.github.io |
---|
Reason也叫做ReasonML,是OCaml的一个语法(英语:syntax (programming languages))扩展和工具链,它由还创建了React的Jordan Walke创建于Facebook[3]。Reason提供了JavaScript编程者熟悉的语法,并可以转译成OCaml[4]。静态类型的Reason(或OCaml)代码可以使用ReScript编译器编译成动态类型的JavaScript[5]。
Reason社群官方提供了ReasonReact作为给基于web应用的React的解决方案[6][7]。
参见
- Elm:使用叫做端口的抽象来与JavaScript通信的函数式语言。
- PureScript:编译成JavaScript的强类型的纯函数式编程语言。
引用
- ^ Simple, fast & type safe code that leverages the JavaScript & OCaml ecosystems: facebook/reason, Facebook, 2019-03-23 [2019-03-23], (原始内容存档于2021-01-04)
- ^ Release 3.11.0. 2024年2月25日 [2024年3月25日].
- ^ What is ReasonML?. 2ality. [2019-03-23]. (原始内容存档于2022-05-04).
- ^ Gopher, Stupid. One week with ReasonML. Medium. 2018-11-12 [2019-03-23]. (原始内容存档于2021-10-19).
- ^ Overview | ReScript Documentation. rescript-lang.org. [2020-08-10]. (原始内容存档于2022-04-17) (英语).
- ^ ReasonReact. GitHub. [2021-10-16]. (原始内容存档于2021-10-16).
- ^ Wilson, Ian. ReasonML with React Hooks Tutorial — Building a Pomodoro Timer. 2019-04-15 [2021-10-16]. (原始内容存档于2021-10-19).
外部链接
- Official website (页面存档备份,存于互联网档案馆)
- ReasonReact (页面存档备份,存于互联网档案馆)
|
---|
| 范型 | |
---|
| 脚本语言 | |
---|
| 特定平台 | |
---|
| 特定领域 | |
---|
| | |
---|
| - 目录
- 列表
- 历史
- 比较(英语:Comparison of programming languages)
- 时间线(英语:Timeline of programming languages)
|
|
| 这是一篇關於電腦程式語言的小作品。您可以通过编辑或修订扩充其内容。 |