Reason is a syntax extension for OCaml created by Facebook that makes OCaml more familiar to JavaScript developers while keeping OCaml's powerful type system. It aims to provide a sustainable way to write performant applications with JavaScript and OCaml.
functional, imperative, object-oriented
pattern matching, algebraic data types, type inference, first-class functions, closures, modules
static system, structural typing, strong typing, full inference, compile-time checking, conservative type coercion, optional type annotations
compiled, transpiled
re, rei
| Status | active |
| Type | programming |
| Created | 2016 |
| Designed by | Jordan Walke |
| Developed by |
Facebook Meta Platforms |
| PyPL Index | N/A |
| TIOBE Index | N/A |
| GitHub rank | #82 |