larsbrinkhoff / forth-mode

Wants to be the SLIME of Forth
GNU General Public License v3.0
61 stars 17 forks source link
editor-plugin emacs-lisp emacs-mode forth melpa

Programming language mode for Forth.

Build Status MELPA

Features in progress:

Installation

MELPA:

M-x package-install forth-mode

Manual:

git clone http://github.com/larsbrinkhoff/forth-mode DIR

# Add to .emacs
(add-to-list 'load-path "DIR")
(require 'forth-mode)
(require 'forth-block-mode)
(require 'forth-interaction-mode)

Usage

To enable Forth major mode, type M-x forth-mode. The file extensions .f, .fs, .fth, and .4th are recognised automatically.

To start an interactive Forth session, type M-x run-forth.

Key bindings: