Emacs Flychcker for Standard ML with SML# compiler
- SML# compiler >= 3.4.0
- Emacs >= 24.1
- flycheck >= 0.22
- sml-mode >= 0.4
- Install SML# compiler.
- Add flycheck-smlsharp.el file to the directory which is in Emacs load path.
- Add a line like adove to your
init.el
.
(eval-after-load 'sml-mode
'(progn
(require 'flycheck-smlsharp)))
- with leaf.el,
(leaf flycheck-smlsharp
:el-get (flycheck-smlsharp
:url "https://github.com/yonta/flycheck-smlsharp.git")
:after sml-mode
:require t)
- Open
.sml
file, and begin sml-mode. - After saving your change to file, flycheck with SML# compiler is running.
- You always need interface file (.smi) for this checker, even if you will use REPL of SML# compiler.
- This checker do not checks intaractively, it checks only when source file is saved. Because temporary source file which is made by intaractive flycheck can not have interface file now.