An Emacs major mode for ReScript.
This is based off of reason-mode. Support for ReasonML has been removed. This repo will only target ReScript v9 and be tested against Emacs 27.
Install like any other Emacs package:
(add-to-list 'load-path "/path/to/this/repo")
(require 'rescript-mode)
The test
folder contains tests that can be run via
Cask. Once you install cask
, if it
is the first time run:
# First time setup
cask install
# Run all tests
cask exec ./run_tests.sh
# With verbose messages
DEBUG=t cask exec ./run_tests.sh
# Or run only one test
cask exec ./run_tests.sh <test-selector>
DEBUG=t cask exec ./run_tests.sh <test-selector>
# However, you probably don't need Cask:
./run_tests.sh
rescript-mode
is distributed under the terms of both the MIT license
and the Apache License (Version 2.0).
See LICENSE-MIT and LICENSE-APACHE for details.