Maker Pro
Maker Pro

16-bit + basic programming

J

joseph2k

Jan 1, 1970
0
Ken said:
I think APL is a good language. "Life is too short to spend it coding DO
loops". In many ways it is like assembly programming on a machine that
just happens to do arrays automatically.


Most implementations allow longish names so you can make the names mean
stuff.

For those that done know: In APL, funtion calls are written:

function
function right
left function right

Where "left" and "right" are arguments.


This makes:

Mary had a little lamb, some potatoes and some carrots

a perfectly good APL statement. This is all done without a single
#define. Now I think you can see that APL is a truely lovely language.

So they are. Nor do i have an argument with that property per se.

However i will offer a few snippets of real function definitions
(elaborations is some lexicons):

Ç rûtabber2 ×;i;pv;pv2
[1] ã UNIX Partitioning Tabber
[2] pvû×=tab
[3] pv2û×=cr
[4] iû,8-1+8�(pv©pv2) ¢2êÒpv
[5] rû1+(~pv2)«(pv2©pv)\i
[6] ×[pv/ÉÒpv]û' '
[7] rûr/×
Ç

Oops that did not render properly. Go look for your selves at:

www.snakeisland.com/comptool.pdf
Figure 5


and: http://en.wikipedia.org/wiki/APL_programming_language

and: http://www.apl2c.de/home/Documents/documents.html
 
Top