github.com/reasonml/reason ↗
Simple, fast & type safe code that leverages the JavaScript & OCaml ecosystems
Open this visualization on its own page →
Contributors
142
Lines of Code
8,723
From
2016-02-20
To
2020-11-27
About reasonml/reason
Reason is a programming language that provides a syntax layer and toolchain on top of OCaml, designed to make the language more accessible to developers familiar with JavaScript and other mainstream languages. It compiles to JavaScript through the existing OCaml ecosystem while preserving OCaml's type safety, performance characteristics, and functional programming features. The project aims to bridge OCaml's powerful type system and the JavaScript ecosystem, allowing developers to write type-safe code that can run on multiple platforms.
The repository contains the core Reason compiler and tools, with the language being distributed as a native package through npm and esy. The project includes a code formatter called refmt that handles the transformation and pretty-printing of Reason code. Documentation for end users is maintained separately in the reasonml.github.io repository, while this repository houses contributor documentation in its docs directory. The project is licensed under its own license with acknowledgment given to other projects whose structures influenced its design.