reasonml/reason

Created Jan 9, 2021 · View the reasonml/reason repository page

Simple, fast & type safe code that leverages the JavaScript & OCaml ecosystems

Want this for your repo?

Render a free sample of any GitHub repo in seconds.

Visualize your own →

Contributors

142

Lines of Code

8,723

From

Feb 20, 2016

To

Nov 27, 2020

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.

Share this video