Skip to content

zhiyuanshi/f2j-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

f2j-mode

Emacs major mode for editing f2j source code

Dependencies

Installation

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.

Interactive Commands

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.

TODO

  1. Add indentation feature

About

Emacs major mode for editing f2j source code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published