← All repos

melange

A mixture of tooling combined to produce JavaScript from OCaml & Reason

Browse cluster: OCaml Systems and Utilities
13,369commits
378contributors
11languages

Tech stack & purpose

Melange is a compiler that translates OCaml and Reason code to JavaScript, leveraging OCaml's type system and type inference to produce robust JavaScript output. Built in OCaml itself and distributed through OPAM, Melange integrates deeply with the OCaml ecosystem via Dune and supports editor tooling through ocaml-lsp and Merlin. The project is sponsored by Ahrefs, the OCaml Software Foundation, and Instapainting, and originated as a fork of the ReScript compiler with a focus on tighter integration with OCaml's broader development infrastructure.

Community & reference links

Languages

OCaml
96.5%
Reason
1.5%
Perl
1.0%
Raku
0.7%
JavaScript
0.1%
Nix
0.0%
Awk
0.0%
Makefile
0.0%
Dune
0.0%
Shell
0.0%
Turing
0.0%

Contributors (top 30 of 378)