ArticleslgStudy

computer science

Object REXX

Object REXX 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 Object REXX rather than just read about it. In short: Object REXX is a high-level, general-purpose, interpreted, object-oriented (class-based) programming language. Today it is generally referred to as ooRexx (short for Open Object Rexx), which is the maintained and direct open-source software successor to Object REXX.

Object REXX — main illustration
Object REXX — illustration

Key takeaways

  • Object REXX 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 Object REXX to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Object REXX from memory before moving on to harder problems.

Reference excerpt

Object REXX is a high-level, general-purpose, interpreted, object-oriented (class-based) programming language. Today it is generally referred to as ooRexx (short for Open Object Rexx), which is the maintained and direct open-source software successor to Object REXX. It is a follow-on and a significant extension of the Rexx programming language (called here classic Rexx), retaining all the features and syntax while adding full object-oriented programming (OOP) abilities and other new enhancements. Following its classic Rexx influence, ooRexx is designed to be easy to learn, use, and maintain. It is essentially compliant with the "Information Technology – Programming Language REXX" American National Standards Institute (ANSI) X3.274-1996 standard and therefore ensures cross-platform interoperability with other compliant Rexx implementations. Therefore, classic Rexx programs typically run under ooRexx without any changes. There is also Rexx Object Oriented (roo!), which was originally developed by Kilowatt Software and is an unmaintained object-oriented implementation of classic Rexx.

History In 1988, the "Oryx" project at the IBM Scientific Centre in Winchester, under the technical direction of Simon C. Nash, experimented with merging classic Rexx with the object model of Smalltalk. The motivation behind the project was to transfer the advantages of OOP to classic Rexx while remaining compatible and thus transferring the usability of classic Rexx to OOP. Early on, the projects focused on OOP aspect such as treating everything as an object, object-based encapsulation and message passing, object-based concurrency, classes and inheritance.

This initial work later led under the direction of Rick McGuire to the first prototype of Object REXX, which was presented in 1992. In 1994, IBM announced that Object REXX would replace classic Rexx as the standard REXX interpreter in the next version of OS/2. In 1996, Object REXX was released as part of the OS/2 Warp 4 operating system. In 1997, versions for Windows 95, Windows NT and Linux followed. In 1999 an Object REXX version for AIX V4.1.5 or higher was released. In 2000, versions for zLinux and Sun/Solaris followed. For Windows 2000, Windows Me, Windows 98 and Windows NT 4.0, the last major update for Object REXX was released in 2001.

On 12 October 2004, IBM announced the discontinuation of Object REXX and transferred the source code and licensing rights to the non-profit Special Interest Group (SIG), the Rexx Language Association (RexxLA). The code that IBM released to open source did not include the classes for IBM System Object Model (SOM), which is known as the object framework for OS/2's Workplace Shell (WPS). Although IBM discontinued the development of SOM in 1997, it is still a fundamental framework for OS/2. The OS/2 version of Object REXX includes classes to support SOM and WPS. These are included in OS/2's initial follow-on product, eComStation, and also in its current descendant, ArcaOS, for which IBM's original Object REXX interpreter continues to be available. In 2005, the RexxLA released ooRexx as a new incarnation of Object REXX as free and open-source software under the Common Public License. This first version of ooRexx 3.0.0 has been heavily refactored compared to the original IBM source code in order to increase readability. Later, the ooRexx kernel was rewritten in pure C++, and a new architecture and native interface were designed and implemented under the technical direction of Rick McGuire. This work enabled the RexxLA to release ooRexx 4.0.0 with support for 64-bit in 2009. To this day, the RexxLA continues to develop, support and maintain ooRexx as well as classic Rexx and NetRexx. Furthermore, the RexxLA organizes international annual symposia.

Releases The following table contains noteworthy features and changes of major Object REXX and ooRexx interpreter versions. All ooRexx releases and the necessary documentation are available freely on SourceForge. For Arch Linux based distributions the current and the development version are available as Arch User Repository. Since version 5.0.0 there are portable versions of the interpreter that can be used without installation, and an unofficial port to OS/2 also exists. The "net-oo-rexx" bundle contains the latest portable version of ooRexx, Netrexx, a Netrexx shell, the Java bridge and associated packages, a shell for ooRexx and various other packages and programs. In addition, there is a WebAssembly port for ooRexx 5.3.0 that allows Rexx programs to be executed in a web browser. There is also an experimental port of the ooRexx interpreter to MVS, as well as a source-to-C++ precompiler written in ooRexx that compiles a subset of Rexx into native Linux programs. For Intellij IDEA, the ooRexxPlugin adds support for syntax highlighting, syntax checking, code completion and documentation support modeled after Javadoc using annotations. Syntax highlighting has been supported in Vim since September 2012, and the Pygments lexer has been available since 2026. RexxCPS is a benchmark that measures the number of Rexx clauses (independent syntax units in a line) per second that an interpreter processes.

Design philosophy ooRexx follows the design philosophy of classic Rexx to create a "human-centered" programming language that is easy to learn, code, remember and maintain. This is achieved, in part, by keeping the language small and following the principle of least astonishment. A readable syntax is enabled by being case-insensitive, free-form, requiring as little punctuation as possible, and using instructions that are straightforward English. In addition, it is a dynamic programming language that offers flexibility and allows to focus on development rather than language constraints. Following the "documentation before implementation" design principle of classic Rexx, ooRexx offers comprehensive documentation in accordance with the IBM Style Guide that includes syntax diagrams and examples.

… excerpt ends here. Continue reading the full article.

Illustrations

Object REXX illustration
Object REXX: Object REXX (until 2004)
Object REXX (until 2004)
Object REXX: ooRexx (since 2005)
ooRexx (since 2005)
Object REXX: Multi-platform GUIs via BSF4ooRexx
Multi-platform GUIs via BSF4ooRexx

Worked examples

Example 1 — a first encounter with Object REXX

Start with the simplest possible case. Write down what Object REXX 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 Object REXX 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 Object REXX 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 Object REXX

In research
Object REXX 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 Object REXX 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
Object REXX is common in secondary-school and first-year university syllabi. It links to neighbouring topics Class-based programming languages, Cross-platform software, Dynamically typed programming languages, so understanding it makes those chapters shorter.
In everyday life
Look for Object REXX 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 “Object REXX” →

How to study Object REXX in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Object REXX 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 Object REXX out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Object REXX in simple terms?

Object REXX is a high-level, general-purpose, interpreted, object-oriented (class-based) programming language. Today it is generally referred to as ooRexx (short for Open Object Rexx), which is the maintained and direct open-source software successor to Object REXX.

Why does Object REXX 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 Object REXX?

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 Object REXX.

Tags

  • Class-based programming languages
  • Cross-platform software
  • Dynamically typed programming languages
  • Free and open source interpreters
  • High-level programming languages
  • IBM software
  • Multi-paradigm programming languages
  • Object-oriented programming languages
  • Programming languages created in 1988
  • Rexx
  • Scripting languages
  • Structured programming languages

Keep exploring