What is ReScript written in?
Programming language that compiles to JavaScript.
Quick Facts
- Developer
- Bloomberg L.P.
- First released
- 2020
- Typing
- static
- License
- GNU Lesser General Public License, version 3.0 or later and MIT License
- Filename extension
- .res, .resi
- Website
- rescript-lang.org
About ReScript
ReScript is a Programming language that compiles to JavaScript. It is a statically typed and garbage-collected language that compiles (transpiles) into another language to run. It supports functional programming. Transpiling means the compiler emits source in another high-level language rather than machine code, so the output then runs on that language's runtime.
ReScript first appeared in 2020. Development is led by Bloomberg L.P.. ReScript is now used mainly in specialized niches and by dedicated communities.
How ReScript is implemented
In the Language Lineage dataset, its compiler is written in OCaml.
ReScript in the language family tree
ReScript drew on ideas from OCaml and ReasonML.
Sources: Wikipedia · Wikidata · Official site
Relationship Graph
All directly connected languages. Click any node to navigate to its page.
Compiler Implementation
| Language | Confidence | Notes | Source |
|---|---|---|---|
| OCaml | 90% | The ReScript compiler is based on OCaml. | Source |
Transpilation
| Language | Confidence | Notes | Source |
|---|---|---|---|
| JavaScript | 98% | ReScript compiles to JavaScript. | Source |
Influenced By
- OCaml — ReScript is built on the OCaml compiler and type system.
- ReasonML — ReScript evolved from ReasonML/BuckleScript.