ANTLR-Mode Overview Details News »Project »Download

News for ANTLR-Mode

Latest Version: 2.2c (21 Aug 2003).
Requirements: Emacs-20.3, XEmacs-20.4, or higher.
Licence: GNU General Public License.

Changes with Release 2.2c

Changes with Release 2.2

Installation Instructions

If ANTLR-Mode is not part of your distribution (i.e., with Emacs prior to 21.1 or with XEmacs), use the following sequence:

  1. Copy file antlr-mode/lisp/antlr-mode.el into your load-path and byte-compile it.
  2. Insert the following code into your Emacs init file (~/.emacs):
    (autoload 'antlr-mode "antlr-mode" nil t)
    (setq auto-mode-alist (cons '("\\.g\\'" . antlr-mode) auto-mode-alist))
    (add-hook 'speedbar-load-hook  ; would be too late in antlr-mode.el
              (lambda () (speedbar-add-supported-extension ".g")))
  3. If you want to customize ANTLR-Mode, use menu item Customize Antlr in the major mode menu Antlr.

Installation instructions with explanations can be found in file antlr-mode/INSTALL of the distribution.

Christoph Wedler, 13 Nov 2014