Home What's New Downloads Programs CSS Editor TCP/IP rInstaller R R2 Functions How It Works Basic Types Reference Java Publications ODBC Browser Internet Server Red Corona Mail me |
Note: these pages use the APL2741 font available from Causeway.
IntroductionR version 2, or R2, is an APL-like language, partly inspired by A and A+ which are being much discussed at present. Because it uses APL symbols it has the usual font problems (you will need the APL2741 font to run R2). Currently the session is a bit basic:
This shot shows some of the things R2 does at the moment: scalar extension for arithmetic primitives and direct definition functions. The more standard )ed xx is also supported. Arrays and Array LiteralsThe square brackets ([ and ]) in R2 (as in R) delimit an array - e.g. [1 2 3]. In some places you can get away with missing these out (as in 1+1 2 which returns [2 3]), but not always (1 2+3 4, for example, gives 1 [5 6]; to get [4 6] you need to say [1 2]+3 4). Any executable content included in an array literal expression will be run first (like parenthesised expressions). Translate TablesR2 uses a Dyalog APL translate table (*.din), which must be called ACDS.din in the same directory as the program. Adrians bizarre keyboard is supplied, so have fun! (If this is too stressful for you, you can use the standard one if you remane it appropriately.) DownloadR2.zip, 190KB, Win 95 and higher Page and site © Richard Smith 2001 Please send any comments to richard@redcorona.com - thank you. |
|
|