IBM
NetRexx
NetRexx is a human-oriented programming language which makes writing and using Java classes quicker and easier than writing in Java.

1.148
News
What's NetRexx?
Samples
Documentation
Downloading
FAQ
Minor classes
Mailing list
Useful links

What's NetRexx?

NetRexx is a new human-oriented programming language, designed to be a simple, effective, and complete alternative to the Java language. With NetRexx, you can create applications and applets for the Java environment faster and more easily than by programming in Java.

Using Java classes is especially easy in NetRexx, as the different types of numbers and strings that Java expects are handled automatically by the language. NetRexx classes and Java classes are entirely equivalent -- NetRexx can use any Java class (and vice versa).

Here's what a "Hello World" program looks like in NetRexx:

/* A program, written in NetRexx */
say 'Hello World!'
To see more examples of what the language looks like, try the NetRexx samples page, or browse the NetRexx quick start, an overview of the language.

Initial measurements using the current implementation suggest that the Java source for a typical class has approximately 35% more lexical tokens and requires 20% more keystrokes than the equivalent in NetRexx.

The free reference compiler for the language first translates the NetRexx source code into Java source code; this is then compiled in turn to generate the Java bytecodes (class files) for execution. The compiler is (of course) written in NetRexx, and should run on any Java platform that supports the Java 1.1 toolkit and compiler (javac). By default, NetRexxC automatically calls the javac compiler to create class files, but you can use other Java compilers if you wish (the generated Java source, optionally including comments from the NetRexx source, is accessible).

For formal details of the language, please see the NetRexx documentation at http://www2.hursley.ibm.com; you'll find the NetRexx packages to download there, too.

NetRexx 1.1 includes many new features, including some that especially simplify the programming of the Java 1.1 event model, inner classes, and JavaBeans.

NetRexx is inspired by two very different programming languages, Rexx and Java. It blends the clean easy-to-learn syntax of Rexx with the robustness and portability of the Java environment. The result is a language which is tuned for both scripting and application development, and is therefore truly general-purpose.


Requests and suggestions?

Your comments, questions, and suggestions for NetRexx and these Web pages are welcome! Either use the NetRexx mailing list, or send mail to me (Mike Cowlishaw) directly, using mail to mfc@uk.ibm.com.

[ IBM home page | Search | Contact IBM | Help | Legal | Privacy ]