Languages Features Creators CSV Resources Challenges Add Language
GitHub icon


Rexx - Programming language

< >

Rexx is a programming language created in 1979 by Mike Cowlishaw.

#116on PLDB 44Years Old 435Users
19Books 4Papers 263Repos

Try now: Riju · TIO

Rexx (Restructured Extended Executor) is an interpreted programming language developed at IBM by Mike Cowlishaw. It is a structured, high-level programming language designed for ease of learning and reading. Proprietary and open source REXX interpreters exist for a wide range of computing platforms; compilers exist for IBM mainframe computers. Read more on Wikipedia...

Example from Riju:
say "Hello, world!"
Example from hello-world:
<<hello.rexx>>= Say "Hello World"
Example from Linguist:
/* rexx */ PARSE ARG filnamn IF filnamn='' THEN DO filnamn='raw' filnamn='font.shapes' end IF ~open(fil,filnamn,r) THEN EXIT 10 pixwidth=48 ebwidth=pixwidth/8 pixheight=48 depth=4 SAY "Skriver utfil..." CALL open utfil,"RAM:utfil",W CALL skriv pixwidth,2 CALL skriv pixheight,2 CALL skriv depth,2 CALL skriv ebwidth,2 bltsize=Right(C2B(D2C(pixheight)),10,"00") bltsize=bltsize || Right(C2B(D2C(ebwidth)),6,"00") /* SAY bltsize */ CALL skriv C2D(B2C(bltsize)),2 CALL skriv 0,4 /* xhandle, yhandle*/ CALL skriv 0,4 /* datapekare */ CALL skriv 0,4 /* cookiepekare */ CALL skriv ebwidth*pixheight,2 /* onebpmem */ CALL skriv ebwidth*pixheight+pixheight*2,2 /* onebpmemx */ CALL skriv ebwidth*pixheight*depth,2 /* allbpmem */ CALL skriv ebwidth*pixheight*depth+pixheight*2*depth,2 /* allbpmemx */ CALL skriv 0,2 /* padding */ CALL Close utfil EXIT skriv: say "Skriver $"D2X(arg(1)) "("arg(2) "byte)" call writech utfil,right(D2C(ARG(1)),ARG(2),"00"x) return visacookie: rad=copies('00'x,pixheight*ebwidth) say "Initierar bitmap till" pixheight*ebwidth*depth say "Ett bitplan =" pixheight*ebwidth bmap.='' say "laser in" do bitplan=1 to depth say "laser plan" bitplan rad=bitor(rad,readch(fil,pixheight*ebwidth)) end ln=1 say "skriver ut" do for pixheight say c2b(substr(rad,ln,bredd/8)) ln=ln+bredd/8 end return
Example from Wikipedia:
ChangeCodePage: procedure /* protect SIGNAL settings */ signal on syntax name ChangeCodePage.Trap return SysQueryProcessCodePage() ChangeCodePage.Trap: return 1004 /* windows-1252 on OS/2 */

Language features

Feature Supported Token Example
Strings "
"Hello world"
MultiLine Comments /* */
/* A comment
Print() Debugging say
* => 1000000000 */
Semantic Indentation X
Line Comments X

Books about Rexx on goodreads

title author year reviews ratings rating
Programming In Rexx Charles Daney 1992 0 5 4.40
The REXX Language on TSO: REXX Functions Gabriel F. Gargiulo 2013 0 2 4.00
REXX Programmer's Reference Howard Fosdick 2005 1 12 3.58
The REXX Language: A Practical Approach to Programing Michael Cowlishaw 1990 0 12 4.33
rexx tutorial for beginners:learn rexx programming: learn rexx programming very fast Anmol Goyal 0 1 5.00
Rexx: Advanced Techniques For Programmers Peter C. Kiesel 1992 0 2 3.00
The REXX Language on TSO Gabriel F. Gargiulo 2012 0 3 4.00
Object-Oriented Programming with REXX Thomas Ender 1997 0 0 0.0

Books about Rexx from ISBNdb

title authors year publisher
Programming in REXX Daney, Charles 1990T McGraw-Hill
The Rexx Language: A Practical Approach to Programming Cowlishaw, Michael 1990 Prentice Hall
Rexx Programmer's Reference Fosdick, Howard 2005 Wrox
The REXX language: A practical approach to programming Cowlishaw, M. F 1985 Prentice Hall
Modern Programming Using Rexx O'Hara, Robert P. and Gomberg, David Roos 1985 Prentice Hall
Modern Programming Using Rexx O'Hara, Robert P. and Gomberg, David Roos 1988 Prentice Hall
The Net REXX Language Michael F. Cowlishaw 1997 Prentice Hall
Object-oriented Programming With Rexx Tom Ender 1997 Wiley
Practical Usage of TSO REXX Anthony S. Rudd 20121206 Springer Nature
REXX Grundlagen für die z/OS Praxis Johann Deuring 20101001 De Gruyter
Vm/esa Gui Facility Developer's Guide Rexx And C++ Gui Programming Ibm Redbooks 1996 Ibm

Publications about Rexx from Semantic Scholar

title authors year citations influentialCitations
The design of the REXX language M. Cowlishaw 1984 12 0
The early history of REXX M. Cowlishaw 1994 5 0
REXX on TSO/E Gerhard E. Hoernes 1989 2 0
Partial Compilation of REXX R. Pinter and P. Vortman and Zvi Weiss 1991 1 0
wasm.html · rexx.html · udp.html

View source

- Build the next great programming language · Search · Day 213 · About · Blog · Acknowledgements · Traffic · Traffic Today · GitHub ·