The ReasonML runtime.
- Most Reason code will work.
- Accepts a single file or a directory containing
- Native ES imports/exports are used for modules.
- Most of BuckleScript's
stdlibshould work (including Belt!) - though some JS stuff like
Js.logis still a WIP.
- Shebang support! See the shebang example.
Js.log isn't implemented yet, you can use
[@bs.scope "V8Worker2"] [@bs.val] external print : string => unit = "print"; to get access to the
This repo contains a pre-built binary for macOS. You can use it like:
> ./reasonable examples/fizzbuzz/Fizzbuzz.re
Or on a directory of files:
> ./reasonable examples/dependencies/
- BuckleScript (self-hosted version)