Computing Atlas

How Computing Was Built
Sign In
Text size
100%
Theme
Programming Language

ReasonML

Functional Language

ReasonML (commonly called Reason) is a syntax and toolchain, created by Jordan Walke at Facebook and first released in 2016, that provides a JavaScript-like syntax layered over the OCaml programming language and its type system, letting developers write statically typed, functional OCaml code using familiar curly-brace, C-like syntax rather than OCaml's traditional syntax. Reason code compiles either to native code through the standard OCaml toolchain or to JavaScript through the BuckleScript/ReScript compiler, aiming to bring OCaml's strong type system and functional programming style to web developers already comfortable with JavaScript's surface syntax.

Facts
Significance
Gives OCaml a JavaScript-like syntax and can compile to JavaScript via Melange. 1
Connections

Built On

Direction correction: ReasonML is a syntax and toolchain over OCaml, not the reverse.

Sources
1. Reason (programming language) - Wikipedia
Lead
Quote, Lead
Reason uses many syntax elements from JavaScript
View the Source
Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.