GithubHelp home page GithubHelp logo

sebmarkbage / reason Goto Github PK

View Code? Open in Web Editor NEW

This project forked from reasonml/reason

0.0 3.0 0.0 21.03 MB

Friendly Syntax & Toolchain Powered by OCaml

Home Page: http://facebook.github.io/reason

License: Other

Makefile 0.41% Vim Script 3.10% JavaScript 6.79% Rust 7.31% CSS 0.88% Emacs Lisp 13.27% Shell 3.01% CoffeeScript 1.87% Python 0.34% OCaml 62.91% Standard ML 0.12%

reason's Introduction

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 docs folder.

Community

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

Contributing To Development

# 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'
opam pin add -y merlin_extend 'https://github.com/let-def/merlin-extend.git'
git clone [email protected]:facebook/reason.git
cd reason
opam pin add -y reason .

If the compilation of Reason does not succeed after pinning merlin/merlin-extend as described above, then a change to merlin or merlin-extend may have broken Reason (please file a Github Issue). We should try to keep all three projects' master branches compatible with each other.

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.

reason's People

Contributors

autozimu avatar avsm avatar bsansouci avatar chenglou avatar cristianoc avatar dxu avatar fevrisn avatar foretspaisibles avatar iwankaramazow avatar jaredly avatar jberdine avatar jonase avatar jonludlam avatar jordwalke avatar jvillard avatar kassens avatar kayceesrk avatar kyleamathews avatar let-def avatar lucasqiu avatar nijynot avatar pvolok avatar rickyvetter avatar sanderspies avatar schmavery avatar tadeuzagallo avatar thomasmulvaney avatar vramana avatar yunxing avatar yutongp avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.