ReScript (programming language)
Script error: No such module "Draft topics". Script error: No such module "AfC topic". Script error: No such module "AfC submission catcheck".
Paradigm | Multi-paradigm: functional, imperative, modular, object-oriented |
---|---|
Family | ML |
Designed by | Hongbo Zhang[1] |
Developer | ReScript Association |
First appeared | 2015[1] |
Implementation language | OCaml |
License |
|
Filename extensions | .res, .resi |
Website | {{URL|example.com|optional display text}} |
Influenced by | |
OCaml, Reason, JavaScript |
Search ReScript (programming language) on Amazon.
ReScript (formerly BuckleScript) is a general-purpose programming language that transpiles to JavaScript and is mainly used for web development.
The language and type system are based on OCaml, and as such ReScript supports features like strong and sound static type system, type inference, parametric polymorphism, tail recursion, pattern matching, first-class closures, functors (parametric modules), exception handling.[4][5]
ReScript provides first-class bindings for React based web applications,[6] and React Native desktop applications.[7]
History[edit]
ReScript originally started in 2015 as BuckleScript, an OCaml to JavaScript transpiler created by Hongbo Zhang[1] while at Bloomberg. It was released as open source in 2016[8] and was subsequently included as a part of the ReasonML toolchain, where it was modified to also compile Reason, another language derived from OCaml, to JavaScript.
In 2020, BuckleScript was rebranded to ReScript as a separate language, dropping support for native code compilation in exchange for more JavaScript-like syntax and better integration with the web ecosystem[9][10][11].
See also[edit]
Some use of "" in your query was not closed by a matching "".Some use of "" in your query was not closed by a matching "".
- 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
- Reason: a functional programming language based on OCaml, which can be compiled to JavaScript using ReScript's compiler
References[edit]
- ↑ 1.0 1.1 1.2 "CREDITS.md". rescript-lang/rescript-compiler. ReScript Association. Retrieved 2023-02-24 – via GitHub.
- ↑ "LICENSE". rescript-lang/rescript-compiler. ReScript Association. Retrieved 2023-02-24 – via GitHub.
- ↑ "res_syntax/LICENSE". rescript-lang/rescript-compiler. ReScript Association. Retrieved 2023-02-24 – via GitHub.
- ↑ Duarte, Diel (April 27, 2021). "Rescript from a JS dev point of view". Blog. Diel Duarte. Retrieved 2023-03-29.
- ↑ Yang, Danny (2023). Introducing ReScript. Functional Programming for Web Applications. doi:10.1007/978-1-4842-8888-7. ISBN 978-1-4842-8887-0. Unknown parameter
|s2cid=
ignored (help) Search this book on - ↑ "Introduction". React Docs. ReScript Project. Retrieved 2023-05-12.
- ↑ "ReScript React Native". ReScript React Native. Retrieved 2023-05-12.
- ↑ "Open Source at Bloomberg: Introducing BuckleScript". Press. Bloomberg LP. May 12, 2016. Retrieved 2023-05-12.
- ↑ "BuckleScript & Reason Rebranding". Blog. ReScript Project. August 10, 2020. Retrieved 2023-05-12.
- ↑ Alzate, Jayson (January 27, 2021). "Learn ReScript — A Safer Way to Write JavaScript— Part 1". The Startup. Medium. Retrieved 2023-03-29.
- ↑ Kozlov, Ilya (July 12, 2022). "ReScript: Fast, Simple, Fully Typed JavaScript from the Future". Blog. Noveo Group. Retrieved 2023-03-29.
External links[edit]
Wikibooks has a book on the topic of: OCaml |
- Lua error in Module:Official_website at line 90: attempt to index field 'wikibase' (a nil value).
This programming-language-related article is a stub. You can help EverybodyWiki by expanding it. |
This article "ReScript (programming language)" is from Wikipedia. The list of its authors can be seen in its historical and/or the page Edithistory:ReScript (programming language). Articles copied from Draft Namespace on Wikipedia could be seen on the Draft Namespace of Wikipedia and not main one.
- Programming language topic stubs
- Cross-platform free software
- Free compilers and interpreters
- Source-to-source compilers
- ML programming language family
- OCaml programming language family
- JavaScript programming language family
- High-level programming languages
- Functional languages
- Object-oriented programming languages
- Pattern matching programming languages
- Statically typed programming languages
- Programming languages created in 2015
- Software using the LGPL license
- Software using the MIT license