NetRexx

From HandWiki
NetRexx
NETREXX.gif
Paradigmmultiparadigm: object-oriented, procedural, structured
Designed byMike Cowlishaw
First appeared1996; 28 years ago (1996)
Stable release
4.05 / 10 May 2023; 9 months ago (2023-05-10)
Typing disciplineStatic, strong, safe, partly dynamic, everything is a string (for the Rexx data type, which handles strings and numbers)
OSCross-platform: Linux, Microsoft Windows, macOS, z/OS, z/VM, Android
Filename extensions.nrx
Websitewww.netrexx.org
Major implementations
RexxLA NetRexx[1]
Influenced by
PL/I, REXX, ooREXX, Java

NetRexx is an open source, originally IBM's, variant of the REXX programming language to run on the Java virtual machine.[2] It supports a classic REXX syntax, with no reserved keywords, along with considerable additions to support object-oriented programming in a manner compatible with Java's object model, yet can be used as both a compiled and an interpreted language, with an option of using only data types native to the JVM or the NetRexx runtime package. The latter offers the standard Rexx data type that combines string processing with unlimited precision decimal arithmetic.

Integration with the JVM platform is tight, and all existing Java class libraries can be used unchanged and without special setup; at the same time, a Java programmer can opt to just use the Rexx class from the runtime package for improved string handling in Java syntax source programs.[3]

NetRexx is free to download from the Rexx Language Association.[1] IBM announced the transfer of NetRexx 3.00 source code to the Rexx Language Association (RexxLA) on June 8, 2011.[4]

History

In 1995 Mike Cowlishaw ported Java to OS/2 and soon after started with an experiment to run REXX on the JVM. With REXX generally considered the first of the general purpose scripting languages,[5] NetRexx is the first alternative language for the JVM.[6] The 0.50 release, from April 1996, contained the NetRexx runtime classes and a translator written in REXX but tokenized and turned into an OS/2 executable.[7] The 1.00 release came available in January 1997 and contained a translator bootstrapped to NetRexx.

Release 2.00 became available in August 2000 and was a major upgrade, in which interpreted execution was added.Cite error: Closing </ref> missing for <ref> tag[8]

IBM released the NetRexx source code to RexxLA under the ICU license. RexxLA shortly after released this as NetRexx 3.00 and has followed up with regular releases, with 4.01 (2021-03-20) adding Java Platform Module System support to support Java versions 9 and higher.[9] (As of 2018) the ICU license has not been approved by OSI; it appears to be a variant of the Expat License.[10]

Syntax

The syntax and object model of NetRexx differ from Object REXX, another IBM object-oriented variant of REXX which has been released as open source software. The successor ooREXX shares a few syntactical elements (LOOP, DO OVER) not found in classical REXX.

NetRexx is written in NetRexx and uses the decimal arithmetic of REXX specified in ANSI X3.274.

References

  1. 1.0 1.1 "NetRexx". RexxLA. 2011. http://www.netrexx.org. 
  2. M. F. Cowlishaw (1997). The NetRexx Language. Prentice-Hall. ISBN 0-13-806332-X. 
  3. "Creating Java Applications Using NetRexx" (ZIP). IBM Redbooks. September 1997. ftp://hobbes.nmsu.edu/pub/os2/dev/rexx/netrexxbooks.zip. Retrieved 2014-02-02. 
  4. Cite error: Invalid <ref> tag; no text was provided for refs named jansen
  5. Michael L. Scott (2005-11-21). Programming Language Pragmatics (2nd ed.). Elsevier. p. 694. ISBN 0-12-633951-1. 
  6. Per Bothner (1996). "Kawa History". Kawa. GNU. https://www.gnu.org/software/kawa/internals/history.html. Retrieved 2014-01-24. "started active development June 1996" 
  7. "NetRexx - Programming language derived from Java and Rexx". OS/2 EWS. IBM PC BBS. 1996. ftp://ftp.oldskool.org/pub/IBM_PC_BBS/os2_ews/nrexx.txt. Retrieved 2014-01-24. 
  8. Fernando Cassia (2011-06-11). "Why an open NetRexx means humans can do Java". TechEye. http://news.techeye.net/software/why-an-open-netrexx-means-humans-can-do-java. Retrieved 2014-02-02. 
  9. "NetRexx Translator Downloads, Releases and Release Candidates". RexxLA.org. 2013. http://netrexx.org/downloads.nsp. Retrieved 2014-01-24. 
  10. "Open Source Licenses". OSI. 2014. http://opensource.org/licenses. Retrieved 2014-02-02. 

External links