LEXX (text editor)

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
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 around 1985. The name was chosen because he wrote it as a tool for lexicographers, during an assignment for Oxford University Press's 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 author (such as STET) augmented by the ability to dynamically parse text and display colour on the new colour terminals that had recently became available (PC-based and stand-alone such as the IBM 3279).

LEXX uses dynamically-loaded parsers which assign classes of elements (tokens formed from character strings) to fonts and colors.[4] It allows indention 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]), a reimplemented derivative of the LEXX concept were originally produced for OS/2 and AIX,[7] but now also run on Windows, Linux, and the Java JVM.[8]

References[edit]

  1. ^ Mike Cowlishaw FREng BSc CEng FIET FBCS CITP, IBM, 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), 31, No. 1
  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

External links[edit]