NetRexx

From Infogalactic: the planetary knowledge core
Jump to: navigation, search
NetRexx
File:NETREXX.gif
Paradigm multiparadigm: object-oriented, procedural, structured
Designed by Mike Cowlishaw
First appeared 1996
Stable release 3.04 / 1 June 2015; 8 years ago (2015-06-01)
Typing discipline Static, strong, safe, partly dynamic, everything is a string (for the Rexx data type, which handles strings and numbers)
License ICU License[1]
Filename extensions .nrx
Website {{#property:P856}}
Major implementations
RexxLA NetRexx[2]
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.[3] 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.[4]

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

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,[6] NetRexx is the first alternative language for the JVM.[7] 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.[8] 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.[9][10]

Mike Cowlishaw left IBM in March 2010, and the future of IBM NetRexx as open source was unknown for a while. IBM finally announced the transfer of NetRexx source code to the Rexx Language Association (RexxLA) on June 8, 2011, 14 years after the v1.0 release.[5][11]

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 releases 3.01 on August 23, 2012, 3.02 on June 25th, 2013 and 3.03 on June 11th, 2014.[12] As of 2014 the ICU license has not been approved by OSI; it appears to be a variant of the Expat License.[13]

Syntax

Lua error in package.lua at line 80: module 'strict' not found.

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. Lua error in package.lua at line 80: module 'strict' not found.
  2. 2.0 2.1 Lua error in package.lua at line 80: module 'strict' not found.
  3. Lua error in package.lua at line 80: module 'strict' not found.
  4. Lua error in package.lua at line 80: module 'strict' not found.
  5. 5.0 5.1 Lua error in package.lua at line 80: module 'strict' not found.
  6. Lua error in package.lua at line 80: module 'strict' not found.
  7. Lua error in package.lua at line 80: module 'strict' not found.
  8. Lua error in package.lua at line 80: module 'strict' not found.
  9. Lua error in package.lua at line 80: module 'strict' not found.
  10. Lua error in package.lua at line 80: module 'strict' not found.
  11. Lua error in package.lua at line 80: module 'strict' not found.
  12. Lua error in package.lua at line 80: module 'strict' not found.
  13. Lua error in package.lua at line 80: module 'strict' not found.

External links