ArticleslgStudy

computer science

LEXX (text editor)

LEXX (text editor) is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand LEXX (text editor) rather than just read about it. In short: LEXX is a text editor which was probably the first to use live parsing and colour syntax highlighting for marked-up text and programs. It was written by Mike Cowlishaw of IBM in 1985.

LEXX (text editor) — main illustration
LEXX (text editor) — illustration

Key takeaways

  • LEXX (text editor) belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect LEXX (text editor) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of LEXX (text editor) from memory before moving on to harder problems.

Reference excerpt

LEXX is a text editor which was probably the first to use live parsing and colour syntax highlighting for marked-up text and programs. 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). The program ran (and still, in 2018, runs) on mainframes under VM/CMS. 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 is 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 colours. 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. LPEX ('Live Parsing Editor") is a reimplemented derivative of the LEXX concept, originally produced for OS/2 and AIX. It now also runs on Windows, Linux, and the Java JVM.

References

External links Casey, John (July 12, 2006), Creating user profiles for the LPEX editor in WebSphere Developer for zSeries v6.0, IBM, retrieved 2008-10-08 Casey, John (June 8, 2006), Extending the LPEX Editor in WebSphere Developer for zSeries v6.0, IBM, retrieved 2008-10-08 G. F. Coulouris; I. Durham; J. R. Hutchinson; H. H. Patel; T. Reeves; D. G. Winderbank (October 27, 2006), "The design and implementation of an interactive document editor", Software: Practice and Experience, vol. 6, Wiley Interscience{{citation}}: CS1 maint: deprecated archival service (link) Introducing the LPEX Editor, IBM, 1998, archived from the original on 2003-05-14, retrieved 2008-10-08

Illustrations

LEXX (text editor): Editing an entry of the NOED using LEXX
Editing an entry of the NOED using LEXX

Worked examples

Example 1 — a first encounter with LEXX (text editor)

Start with the simplest possible case. Write down what LEXX (text editor) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to LEXX (text editor) before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about LEXX (text editor) ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of LEXX (text editor)

In research
LEXX (text editor) appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses LEXX (text editor) in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
LEXX (text editor) is common in secondary-school and first-year university syllabi. It links to neighbouring topics IBM mainframe software, Text editors, VM (operating system), so understanding it makes those chapters shorter.
In everyday life
Look for LEXX (text editor) outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “LEXX (text editor)” →

How to study LEXX (text editor) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what LEXX (text editor) means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain LEXX (text editor) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is LEXX (text editor) in simple terms?

LEXX is a text editor which was probably the first to use live parsing and colour syntax highlighting for marked-up text and programs. It was written by Mike Cowlishaw of IBM in 1985.

Why does LEXX (text editor) matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study LEXX (text editor)?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on LEXX (text editor).

Tags

  • IBM mainframe software
  • Text editors
  • VM (operating system)

Keep exploring