Emacs major mode for editing f2j source code
First you need to install quickrun.el
from MELPA with
package.el.
Then Clone the project:
$ git clone https://github.com/zhiyuanshi/f2j-mode.git /path/to/f2j-mode/directory
Add to .emacs.el
(or equivalent):
(add-to-list 'load-path /path/to/f2j-mode/directory)
(require 'f2j-mode)
(require 'quickrun)
And you're good to go! F2J mode will be automatically turned on for .sf
files.
C-c C-r
will invoke f2j
command to compile and run the source
file. You can also C-u C-u C-c C-r
to only compile the source file.
M-x quickrun-with-arg
can be used to specify command line options,
e.g. -m apply -m stack
.
- Add indentation feature