Introduction to Reason Compilation


4 - Small Break; Add Miscellaneous Files

Check point! This step will set up some common tools you'd use during Reason's development.

  • Merlin: check out the description here. We're writing a small .merlin file in this step. Read through the comments in the file; they're helpful.

  • Reason has editor support for Atom, Vim, Emacs, etc. using Merlin. They're very nice-to-haves.

  • Ultimately, Reason will provide you an opinionated (but optional) build system that takes care of generating everything you're seeing here & more. Our goal for the opinionated build system is to:

    • Enable a hassle-free onboarding experience, so that people don't have to fit the whole ecosystem & tooling & workflow in their head before starting their first .re file.
    • Enable nice features that are otherwise hard to have in an agnostic build & tooling ecosystem. For example, if your directory structure abides by some format we prefer, then we can make the documentation, repl bootstrapping, merlin and the rest work together.
Create your playground on
This playground was created on, our hands-on, knowledge-sharing platform for developers.
Go to