Object REXX
![]() | |
Paradigm | Object-oriented (class-based) |
---|---|
Designed by | Simon C. Nash (IBM) |
First appeared | 1988 |
Stable release | 5.0.0
/ 10 May 2023 |
Preview release | 5.1.0
|
Implementation language | C++ |
Platform | IA-32, x86-64, ARM, s390x |
OS | Cross-platform: Linux, Microsoft Windows, macOS, Solaris, OpenIndiana, AIX, FreeBSD, OS/2 |
License | CPL 1.0, GPLv2 |
Filename extensions | .rxs, .rex, .rexx, .cls |
Website | www |
Major implementations | |
Object REXX (until 2004) ooRexx (since 2005) | |
Influenced by | |
Rexx, Smalltalk | |
Influenced | |
NetRexx |
Object REXX is a high-level, general-purpose, interpreted, object-oriented (class-based) programming language.
It is a follow-on and a significant extension of the Rexx programming language (often called "Classic Rexx"). Object REXX retains all the features and syntax of "Classic Rexx" while adding full object-oriented programming (OOP) capabilities. Although Object REXX does not implement all aspects of the "Information Technology – Programming Language REXX" ANSI X3.274-1996[1] standard, it offers many new features of its own.
Following its "Classic Rexx" influence, Object REXX is designed to be easy to learn, use, and maintain. Object REXX is today often referred to as Open Object Rexx (ooRexx).
History
[edit]In 1988, the "Oryx" project at IBM, under the technical direction of Simon C. Nash, experimented with merging "Classic Rexx" with the object model of Smalltalk.[2][3] 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.[4] 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.[5]
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.[3] In 1996, Object REXX[a] was released as part of the OS/2 Warp 4 operating system.[6] In 1997, versions for Windows 95, Windows NT and Linux followed.[7][8] In 1999 an Object REXX version for AIX V4.1.5 or higher was released.[9] 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.[10]
On 12 October 2004, IBM announced the discontinuation of Object REXX and transferred the source code and licensing rights[b] to the non-profit Special Interest Group (SIG), the Rexx Language Association (RexxLA). In 2005, the RexxLA released ooRexx as a new incarnation of Object REXX as free and open-source software under the Common Public License.[11] 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 annual symposia.[12]
IBM's original Object REXX interpreter continues to be available in OS/2-derived operating systems, such as ArcaOS and eComStation.
Releases
[edit]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 on Sourceforge.[13][14] For Arch Linux based distributions the current and the development version are available as Arch User Repository. Since release 5.0.0, portable versions of the interpreter are available that allow it to be used without installation.
Major Releases | Release Date | Notable Features and Changes |
---|---|---|
1.0.0 (OS/2)[15] |
Object REXX1996-09-25 |
|
1.0.0 (Windows)[16] |
Object REXX1997-02-28 (IE) 1997-05-30 (DE) |
|
1.1.0 (AIX)[17] |
Object REXX1999-04-09 |
|
2.1.0 (Windows)[18] |
Object REXX2001-04-21 |
|
3.0.0[19][20] |
ooRexx2005-03-30 |
|
3.1.0[21] |
ooRexx2006-08-21 |
|
3.1.1[22] |
ooRexx2006-11-23 | |
3.1.2[23] |
ooRexx2007-09-17 |
|
3.2.0 |
ooRexx2008-01-22 |
|
4.0.0[24] |
ooRexx2009-09-30 |
|
4.1.0[25] |
ooRexx2011-09-28 |
|
4.2.0[27] |
ooRexx2014-02-23 |
|
5.0.0[28] |
ooRexx2022-12-22 |
|
5.1.0 |
ooRexx2024 |
Features
[edit]As supersets of Classic Rexx, ooRexx and Object REXX endeavor to retain all the features of Classic Rexx.
To this, ooRexx and Object REXX add all the features typical of object-oriented languages, such as subclassing, polymorphism, and data encapsulation. Further features include multiple inheritance via the use of mixin classes.
ooRexx and Object REXX are designed to be a compatible superset of Classic Rexx. They conform[c] to the ANSI standard for the Rexx language (X3.274-1996, “Programming Language Rexx”[1]), for interoperability across platforms with other conforming Rexx implementations. Thus Classic Rexx programs that conform to the ANSI-1996 standard typically run under ooRexx and Object REXX without any changes. This makes it easy to transport both program code and developer knowledge from Classic Rexx to ooRexx and Object REXX.
For Windows, ooRexx includes a Windows Script Host (WSH) Scripting Engine for Rexx. It also includes Object Linking and Embedding/ActiveX support and OODialog Runtime to support OODialog programs. However, the code that IBM released to open source in 2004 did not include the classes for IBM System Object Model (SOM) and Workplace Shell (WPS) support.[29]
The OS/2 version of IBM Object REXX includes classes to support the IBM System Object Model [30] and Workplace Shell.[31] These are also included OS/2's initial follow-on product, eComStation, and also in its current descendant, ArcaOS.[32]
Notes
[edit]- ^ Including interfaces to System Object Model (SOM) and Workplace Shell (WPS)
- ^ Excluding the SOM and WPS packages
- ^ Object REXX and Open Object Rexx do not include all of the new features of ANSI standard Rexx.
References
[edit]- ^ a b "X3.274-1996 American National Standards Institute for Programming Language Rexx" (PDF).
- ^ "7 Reasons that Rexx Still Matters". SmartBear.com. Retrieved 2024-06-19.
- ^ a b "IBM Object REXX - EDM2". www.edm2.com. Retrieved 2024-06-19.
- ^ Nash, Simon C. (1990-06-11). "Object Oriented REXX" (PDF). Proceedings of the REXX Symposium for Developers and Users: 76-100.
- ^ Nash, Simon C. (2009-05-21). "An Object Rexx Retrospective" (PDF). Proceedings of the 20th Rexx Language Symposium.
- ^ "IBM Object REXX for OS/2 - EDM2". www.edm2.com. Retrieved 2024-06-19.
- ^ "IBM Object REXX Now Runs on Windows NT and Windows 95". IBM. 1997-02-25.
- ^ Schweizer, Manfred; Berger, Uwe (2005-04-21). "From Object REXX to ooRexx" (PDF). Proceedings of the 16th Rexx Language Symposium.
- ^ "IBM Object REXX for AIX - Object-Oriented Scripting Language for Beginners to Advanced Programmers". IBM. 1999-03-30.
- ^ "IBM Object REXX for Windows V2R1 - Object-Oriented Programming for Beginners to Advanced Users". IBM. 2001-03-20.
- ^ "Software withdrawal and service discontinuance: IBM Object REXX". IBM. 2004-10-12.
- ^ "RexxLA - Rexx Symposia". www.rexxla.org. Retrieved 2024-05-17.
- ^ "ooRexx (Open Object Rexx) - Browse /oorexx at SourceForge.net". sourceforge.net. Retrieved 2024-05-18.
- ^ "ooRexx (Open Object Rexx) - Browse /oorexx-docs at SourceForge.net". sourceforge.net. Retrieved 2024-05-18.
- ^ "IBM Object REXX for OS/2 - EDM2". www.edm2.com. Retrieved 2024-06-19.
- ^ "IBM Object REXX Now Runs on Windows NT and Windows 95". IBM. 1997-02-25.
- ^ "IBM Object REXX for AIX - Object-Oriented Scripting Language for Beginners to Advanced Programmers". IBM. 1999-03-30.
- ^ "IBM Object REXX for Windows V2R1 - Object-Oriented Programming for Beginners to Advanced Users". IBM. 2001-03-20.
- ^ "ooRexx News". Sourceforge. Retrieved 18 May 2024.
- ^ Open Object Rexx Reference Version 3.0.0 Edition (PDF). RexxLA. 24 March 2005. Retrieved 18 May 2024.
- ^ "ooRexx News". Sourceforge. Retrieved 18 May 2024.
- ^ "ooRexx News". Sourceforge. Retrieved 18 May 2024.
- ^ "ooRexx News". Sourceforge. Retrieved 18 May 2024.
- ^ "ooRexx 4.0.0: Readme" (PDF). Retrieved 18 May 2024.
- ^ "ooRexx 4.1.0: ReleaseNotes". Retrieved 18 May 2024.
- ^ "ooSQLite: Readme". Retrieved 18 May 2024.
- ^ "ooRexx 4.2.0: Changes". Retrieved 18 May 2024.
- ^ "ooRexx 5.0.0: Changes". Retrieved 18 May 2024.
- ^ Where did SOM support go in 4.0.0?
- ^ Willis Boughton (2004). "SOM and Object REXX". EDM/2. Retrieved 2014-02-02.
- ^ "Accessing Workplace Shell Objects". Object REXX Reference. IBM.
- ^ "Does ArcaOS include REXX support?". Retrieved 2020-09-03.