Jump to content

LEXX (text editor)

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Literally Satan (talk | contribs) at 08:39, 28 June 2022. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Editing an entry of the NOED using LEXX

LEXX is a text editor which was possibly the first to use live parsing and colour syntax highlighting. It was written by Mike Cowlishaw of IBM in 1985. The name was chosen because he wrote it as a tool for lexicographers, during an assignment for Oxford University Press's 'New Oxford English Dictionary' (NOED; the second edition of the Oxford English Dictionary).[1] The program ran (and still, in 2018, runs[2]) on mainframes under VM/CMS.[3] LEXX's design was based on several other editors written by the same author (such as STET) augmented by the ability to dynamically parse text and display colour on the new colour terminals that had recently become available (PC-based, and stand-alone such as the IBM 3279). It was programmable using dynamically-loaded compiled commands (usually written in PL/I) or using interpreted commands (usually written in REXX -- hence the 'XX' in 'LEXX').

LEXX uses dynamically-loaded parsers which assign classes of elements (tokens formed from character strings) to fonts and colors.[4] It allows indentation to be used to format and show the structure of the file being edited, and other formatting options allow (for example) the hiding of selected classes of text, such as tags. A collection of screenshots is available.[5]

LPEX ('Live Parsing Editor"[6]) is a reimplemented derivative of the LEXX concept, originally produced for OS/2 and AIX.[7] It now also runs on Windows, Linux, and the Java JVM.[8]

References

  1. ^ Mike Cowlishaw FREng BSc CEng FIET FBCS CITP, IBM, archived from the original on 2006-10-18, retrieved 2008-10-08, In 1985 he was seconded to the Oxford University Press to write a syntax-directed colour-coding editor for the SGML text of the second edition of the Oxford English Dictionary. That editor (the live parsing editor, called LEXX) and its LPEX derivatives became part of the IBM VisualAge range of products, running on VM/CMS, OS/2, OS/400, AIX, Windows, and Java. Mike remains a consultant to the Oxford English Dictionary.
  2. ^ http://www.vm.ibm.com/download/packages/ VM Download Packages
  3. ^ Cowlishaw, M. F. (1987), "LEXX – A programmable structured editor", IBM Journal of Research and Development (PDF), vol. 31
  4. ^ Foulger, Davis, Agent Software Prototypes and Implementations, retrieved 2008-10-08
  5. ^ | LEXX screenshots
  6. ^ Clark, Douglas (February 16, 2003), LPEX - The 'Other' Programmer's Editor, OS/2 eZine, retrieved 2008-10-08, LPEX gets its initials from the name "live parsing editor." It parses the lines you type, as your type them, and displays syntax errors immediately; you don't have to run the source code through the compiler or interpreter to catch simple syntax errors.
  7. ^ Woehr, Jack (March 1, 1996), A Conversation with Michael Cowlishaw, Dr. Dobb's, retrieved 2008-10-08, MFC: Around 1985, the Oxford University Press needed an editor that could handle highly structured data: the content of the Oxford English Dictionary, which is about a 20-volume, 1000-page-per-volume dictionary. So I wrote an editor for them called "LEXX" which ran on IBM mainframes. It's now mostly used for program editing, because of its ability to parse data and color keywords, and other features.
  8. ^ LPEX for Eclipse summary