Home

REXXCC




Purpose

REXXCC can be used to "compile" or compress an REXX program.
 
REXXCC "compiles" an OS/2 REXX program by substituting the source code with mostly any text. This is possible because the OS/2 REXX interpreter stores a tokenized copy of each executed REXX program in the EAs of the program. If you execute an OS/2 REXX program, the OS/2 REXX interpreter first checks if the tokenized copy in the EAs is still valid and, if so, executes the tokenized copy and ignores the source code.
 
REXXCC "compresses" an OS/2 REXX program by deleting mostly all superfluous whitespaces, all linefeeds and all comments from the sourcefile.
 
 
Compatiblity

"Compiling" tested with OS/2 v2.1, OS/2 v2.1 and the Service Pak, OS/2 v2.11, OS/2 v2.99 WARP BETA II, OS/2 Version 3 WARP for Windows, OS/2 Version 3 WARP Fullpack and OS/2 WARP Connect and OS/2 WARP Version 4 (with Classic REXX as default REXX interpreter). The REXX interpreter version of all of these OS/2 Versions is 4.00.
 
"Compressed" REXX programs will work using ANY REXX interpreter.
 

Back to top

History


Version
Releasedate
         Description
3.23
13.09.2014
no changes; only added the source code to the archive
3.21
1997


Back to top

Operating system

OS/2
Back to top

Language / type

REXX, "compiling" only works on O/S2; "compressing" should also work with other REXX interpreter

Back to top

Prerequisites

Classic REXX ; the script does not work with Object REXX

Back to top

Usage


REXXCC.CMD - a tiny REXX "compiler" (c) Bernd Schemmer 1994,1997 
                                                                
Usage: REXXCC source TO target {WITH copyrightfile}              
              {/IExt} {/IDate} {/IVer} {/Overwrite}              
              {/UseSource} {/LineCount=n} {/Compress}            
              {/AddCode} {/CMode} {/ShowDate} {/NoDate}          
              {/LOG=logfilename} {/Sound} {/NoColors} {/?} {/HELP}


Additional programs in this package:

REXXCCM.CMD - REXX program to create a token image of a REXX program using the macro space

Usage:

REXXCCM Source:sourceFile Target:targetDirectory
        {/L:logfile} {/H} {/Silent} {/NoSound} {/NoAnsi}
        {/Trace}


UPCKREXX.CMD - unpack packed or "compressed" REXX programs

Usage:

UPCKREXX sourceFile
         {/LL:n} {/SI:n} {/BI:n}
         {/FH{:n}} {/CM{:n}} {/NL{:n}} {/DL{:n}}
         {/IE{xt}{:n}}
         {/L:logfile} {/H} {/Silent} {/NoSound} {/NoAnsi}
         {/Trace}


REXXCC2.CMD - simple WPS front end for REXXCC.CMD v3.00 and above

Usage:

rexxcc2

Back to top

Examples

n/a

Back to top

Notes

Beginning with version 3.23 REXXCC is Open Source.


Back to top

Download


Download REXXCC

Back to top