Gnu Emacs Ada mode homepage

Ada mode 7.3.0

Available via Gnu ELPA.
Requires Emacs 25.3 or greater. Compiling the required Ada code requires GNAT GPL 2017 or later; tested with GNAT Community Edition 2019 and GNAT Pro 20.
To install:
ada-mode project page on savannah

Access git repository, etc.

To clone the git repository, use "git clone -b org.emacs.ada-mode"; otherwise git uses the non-existent branch "master". After cloning that branch, run git_checkout.sh to checkout wisitoken, sal, etc.

ELPA page for ada-mode
Ada mode manual, NEWS, and old versions
ada-mode-keys.el
My bindings, settings, and hooks for using Ada mode; provided as an example.

Ada mode 8.0.1 beta test

To retrieve the beta test version from Gnu ELPA, add the devel repository to package-archives:

    (add-to-list 'package-archives (cons "gnu-devel" "https://elpa.gnu.org/devel/"))
  

All of the associated Ada code compiles via Alire; crate emacs_ada_mode. build.sh and install.sh use Alire if you have it in PATH.

Using the AdaCore ada_language_server (als) via eglot is supported, for cross reference (als does not yet support all the other features we'd like to have). als is installed with GNATStudio (which ada-mode will find by default), or can be built with Alire. If you build it with Alire, either put it in PATH, or set gnat-lsp-server-exec. To try it:

    (setq-default ada-face-backend none)
    (setq-default ada-indent-backend none)
    (setq-default ada-xref-backend eglot)
  

Not tested with lsp-mode. You can set ada-*-backend to 'other to expermiment with that, or tree-sitter, or some other backend.

Incremental parse is provided. It still has some bugs, so it is not enabled by default. To try it:

    (setq-default wisi-incremental-parse-enable t)
  

Please report success or issues to the ada-mode mailing list

Notes

Ada mode uses a parser for the indentation, fontification, and navigation engine. The tools used to produce the Ada parser are included in the ada-mode and wisi ELPA packages; the upstream development version is available from the git repository in the Emacs ada-mode savannah project.

ELPA page for wisi package
Provides the elisp interface with the parser.
WisiToken
The parser generator.
SAL
Containers and other utilities used by WisiToken.

mailing list, bugs

Subscribe to the Emacs ada-mode-users mailing list, for developer and user discussions of Ada mode. WisiToken is discussed either on the Ada mode mailing list, or the newsgroup comp.lang.ada.

mailing list archive

Please report bugs both to the mailing list and to the Emacs bug list or Emacs debbugs. Put Package: emacs, ada-mode as the first line of the bug message.


my home page Author : Stephen Leake Valid HTML 5 Created with Emacs Last modified: Tue Nov 1 14:18:07 Pacific Daylight Time 2022