jr@PEBBLES.BBN.COM (John Robinson) (06/01/88)
This looked worth reposting. /jr ------- Forwarded Message Date: 24 May 88 05:51:45 +0000 From: liberte@M.CS.UIUC.EDU (Daniel LaLiberte) 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 ------- End of Forwarded Message