package reason
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=07b0f4a471b570b9f6ee699016d2fb9d98788d1ccfb428a2b2f20f1ee6f42b9e
md5=b9793a31ec41f1720923a14d20d51363
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.
README
Reason: Friendly Syntax & Toolchain for OCaml
Getting Started
Check out the docs which guide you through the basic syntax and toolchain features.
Workflow for compiling to native: http://facebook.github.io/reason/nativeWorkflow.html Workflow for compiling to JS: http://facebook.github.io/reason/jsWorkflow.html
Community
Get in touch! We're on:
Contributing
Documentations
The docs are in the docs folder and the corresponding README there that describes the docs contribution method.
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 git@github.com:facebook/reason.git
cd reason
opam pin add -y reason-parser reason-parser
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 (8)
-
reason-parser
= "1.13.4"
-
ocaml-migrate-parsetree
< "2.0.0"
-
topkg
>= "0.8.1" & < "0.9"
-
result
= "1.2"
-
merlin-extend
>= "0.3" & < "0.4"
-
utop
>= "1.17" & < "2.0"
-
ocamlfind
build
-
ocaml
>= "4.02" & < "4.05"
Dev Dependencies
None
Used by (18)
- box
-
brotli
>= "2.0.3"
-
dream
>= "1.0.0~alpha2"
-
graphql_ppx
>= "0.7.1"
-
immutable
>= "0.0.6"
-
melange
= "1.0.0"
- melange-atdgen-codec-runtime
- melange-fest
- melange-jest
- melange-moment
- melange-react-dates
-
ocaml-lsp-server
< "1.2.0"
- opam_of_packagejson
- rhythm
-
rtop
>= "3.3.5" & < "3.7.0"
-
spin
< "0.6.0"
- tablecloth-melange
- tyxml-jsx
Conflicts (1)
-
utop
< "1.17"