Reason
  • Docs
  • Try
  • API
  • Community
  • Blog
  • Languages iconEnglish
    • 日本語
    • Deutsch
    • Español
    • Français
    • 한국어
    • Português (Brasil)
    • Русский
    • Українська
    • 中文
    • 繁體中文
    • Help Translate
  • GitHub

›Extra

Intro

  • What & Why
  • Getting started

Setup

  • Installation
  • Editor Plugins
  • Format (refmt)

Language Basics

  • Overview
  • Let Bindings
  • Primitives
  • Basic Structures
  • Types
  • Records
  • Variants
  • Options and nullability
  • Functions
  • Recursion
  • Destructuring
  • Pattern Matching
  • Mutable Bindings
  • Loops
  • Modules

Advanced Features

  • JSX
  • External
  • Exception
  • Object

JavaScript

  • Melange
  • Interop
  • Syntax Cheatsheet
  • Pipe First
  • Promise
  • Libraries
  • Converting from JS

Extra

  • Frequently Asked Questions
  • Extra Goodies
  • REPL (rtop)
Edit

Extra Goodies

Browser Extension: Reason-tools

Reason-tools lets you quickly toggle between OCaml syntax and Reason syntax when you're browsing tutorials and documentations written in either syntax.

REPL

An online REPL: https://sketch.sh/.

The command line REPL rtop is one part of a (slightly) bigger toolchain of CLI tools for Reason.

re:bench

re:bench is an online benchmarking playground. It supports test cases written in Reason, OCaml and JavaScript, and allows sharing of benchmarks through unique URLs. It's compiled to JS using BuckleScript.

Redex

Redex: the Reason packages registry.

← Frequently Asked QuestionsREPL (rtop) →
  • Browser Extension: Reason-tools
  • REPL
  • re:bench
  • Redex