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
- Make context parsing faster on Emacs, for faster syntax highlighting, indentation and imenu support.
- More sophisticated indentation, i.e., use the indentation engine of cc-mode for most actions.
- Make major mode work with cc-mode-5.29/5.30 or higher.
- Minor bug fixes. Miscellaneous.
Changes with Release 2.2
- Moved to SourceForge.net. More details on web page.
- Minor bug fixes. Miscellaneous.
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:
-
Copy file
antlr-mode/lisp/antlr-mode.el
into your load-path and byte-compile it. -
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")))
- 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.