[go: nahoru, domu]

Skip to content

jackm321/reason

 
 

Repository files navigation

Reason: Build Systems Rapidly Build Status

  • Approachable syntax.
  • Powerful, automatic source code formatting.
  • Adopt incrementally with JavaScript/C interop.
  • Ahead-of-time compilation to assembly - without a language level VM.
  • Rapidly develop and share projects.

Install Stable

# 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.02.3
eval $(opam config env)
opam pin add -y merlin 'https://github.com/the-lambda-church/merlin.git#reason-0.0.1'
opam pin add -y merlin_extend 'https://github.com/let-def/merlin-extend.git#reason-0.0.1'
opam pin add -y reason 'https://github.com/facebook/reason.git#0.0.6'

Test Installation

Test the installation by compiling the following program:

echo 'print_string "Hello world"' > Hello.re

rebuild Hello.native # Automatically generates Hello.native from Hello.re

./Hello.native

Get Started Now

Check out the docs which guide you through the basic syntax and toolchain features.

Contribute back to that documentation in the documentation branch.

Community

Get in touch! We're on IRC freenode #reasonml, and Gitter.

License

New content is licensed under the MIT license, works that are forked from other projects are under their original licenses. MIT license

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

About

A meta language toolchain to build systems rapidly

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • OCaml 45.1%
  • JavaScript 32.9%
  • Emacs Lisp 10.0%
  • Rust 4.8%
  • Vim Script 2.3%
  • Shell 2.0%
  • Other 2.9%