Stratego Emacs Mode

Stratego -- Strategies for Program Transformation
The Stratego Emacs mode is part of stratego-util?. See the directory stratego-util/emacs.

Installation instructions

Put the file stratego.el in some directory and make sure it is your loadpath.

For example add this to ~/.emacs :

  (add-to-list 'load-path "~/.myemacs")

To bind the Stratego mode to .str files add this to ~/.emacs :

  (autoload 'stratego-mode "stratego")
  (setq auto-mode-alist (cons '("\.str$" . stratego-mode) auto-mode-alist))

Currently sdf syntax coloring is in the stratego-mode as well. To bind the stratego-mode to .sdf files add this to ~/.emacs :

  (setq auto-mode-alist (cons '("\.sdf$" . stratego-mode) auto-mode-alist))

Author

Other Useful modes

  • CUA Mode for ctrl-cxv cut copy paste, shift text selection, ctrl-z undo.