package reason

  1. Overview
  2. Docs

Description

reason allows development of Meta Language syntax trees in non-text format. It allows a development model that is equivalent to collaborating on syntax trees that have been committed to a source code repository.

Tags

syntax

Published: 16 Aug 2017

README

Reason: simple, fast & type safe code that leverages the JavaScript & OCaml ecosystems

Getting Started

Community

Contributing

Documentations

The doc repo lives at https://github.com/reasonml/reasonml.github.io

Codebase

See the src folder and the corresponding README.

# On OSX, install opam via Homebrew:
brew update
brew install opam
# On Linux, see here (you will need opam >= 1.2.2): http://opam.ocaml.org/doc/Install.html

opam init
# Add this to your ~/.bashrc (or ~/.zshrc):
#   eval $(opam config env)

opam update
opam switch 4.03.0
eval $(opam config env)
git clone https://github.com/facebook/reason.git
cd reason
opam pin add -y reason .

Note: during the last opam pin step, make sure your local repo is clean. In particular, remove artifacts and node_modules. Otherwise the pinning might go stale or stall due to the big node_modules.

License

See Reason license in LICENSE.txt.

Works that are forked from other projects are under their original licenses.

Editor plugins (which have also been forked) in the editorSupport/ directory include their own licenses.

Credit

The general structure of refmt repo was copied from @whitequark's m17n project, including parts of the README that instruct how to use this with the OPAM toolchain.

Dependencies (9)

  1. ppx_tools_versioned >= "5.0beta" & < "5.2.1"
  2. ocaml-migrate-parsetree < "2.0.0"
  3. topkg >= "0.8.1"
  4. result = "1.2"
  5. merlin-extend >= "0.3" & < "0.4"
  6. utop >= "1.17"
  7. menhir >= "20170418" & <= "20170712"
  8. ocamlfind build
  9. ocaml >= "4.02" & < "4.06"

Dev Dependencies

None

Conflicts (1)

  1. utop < "1.17"