From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!attcan!uunet!husc6!mailrus!ames!pasteur!ucbvax!MITRE-BEDFORD.ARPA!sdl From: sdl@MITRE-BEDFORD.ARPA (Litvintchouk) Newsgroups: comp.lang.ada Subject: Ada mode for GNU Emacs Message-ID: <8806121722.AA13344@mitre-bedford.ARPA> Date: 12 Jun 88 17:22:23 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet List-Id: I tried to post this message last week but our MILNET connection was down then. So I'm reposting it again just to be sure it gets thru.... > Does anyone have or know of an ada-mode, similar to c-mode, to assist > with writing ada programs in GNU emacs? I am looking for something which > can parse Ada; we may add features supporting static semantic checking. There are several GNU Emacs "Ada modes" floating around. However, the only one I know of that can actually parse Ada source code is "Leif," described in the following posting to the info-gnu-emacs mailing list (appended after my signature). Steven Litvintchouk MITRE Corporation Bedford, MA 01730 (617)271-7753 >>From liberte Tue May 24 00:51:43 1988 To: info-gnu-emacs@prep.ai.mit.edu Subject: Announcing: Leif Our incremental parser with GNU Emacs front end, called Leif, is now available. Leif allows you to edit your program with normal Emacs commands and then text changes are automatically sent to the incremental parser. With additional commands you can ask for the position of syntax errors, select "phrases" of your program, display the syntax structure, and determine legal tokens. leif-mode is a minor mode within Emacs. Thus you can use Leif on top of a major mode such as c-mode. vip-mode, a "global" mode, may also be used with leif-mode if you prefer vi commands. Leif uses a bison grammar and a lex specification (someday flex) to specify a language. Leif is table driven so that no language dependent code exists in the Emacs lisp code or incremental parser. Language descriptions are included for Pascal, Ada and a large subset of C. A single Emacs session may edit in several languages in several different buffers. The changes to the distributed GNU Emacs 18.50 are small. Two buffer local variables, before-change-hook and after-change-hook, are added. Any changes to the buffer's text cause a call to the before-change-hook function before the change is made and the after-change-hook function after the change is made. Also, to make temporary text highlighting more convenient, a function was added to force screen update even with pending input. Leif may be obtained via anonymous ftp from a.cs.uiuc.edu in the subdirectory pub/Leif, or via uucp in the subdirectory Leif. The file README.DIST contains information to help decide which files to retrieve. If you already have GNU Emacs 18.50 and only want the lisp code and the diffs for Emacs, the compressed tar file diff-18.50+leif.Z is one of those files. Troff documentation is available in the file leif-doc.tar.Z. If you are unable to access the files via ftp or uucp, please contact us. Please send Leif related queries to ihnp4!uiucdcs!leif or leif@a.cs.uiuc.edu William Smith, Dan LaLiberte, Roy Campbell