🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

3 total messages Started by peterson Thu, 15 May 1986 17:37
Data structures in APL (re: proliferation of operators)
#194
Author: peterson
Date: Thu, 15 May 1986 17:37
6 lines
924 bytes
I have heard of some APLs which implement nested arrays.  Sounds like a
step in the right direction.  But what do nested arrays buy the average
APL user?  Besides 3 character string arguments to functions, I mean.

-bob	usenet: decwrl!dec-rhea!dec-vaxwrk!peterson
        arpa:	peterson%vaxwrk.DEC@decwrl.ARPA
Re: Data structures in APL (re: proliferation of operators)
#196
Author: ir645
Date: Fri, 16 May 1986 19:18
24 lines
1829 bytes
In article <2997@decwrl.DEC.COM> peterson@cmkrnl.DEC (My God, it's full of stars!) writes:
>I have heard of some APLs which implement nested arrays.  Sounds like a
>step in the right direction.  But what do nested arrays buy the average
>APL user?  Besides 3 character string arguments to functions, I mean.
>
>-bob	usenet: decwrl!dec-rhea!dec-vaxwrk!peterson
>        arpa:	peterson%vaxwrk.DEC@decwrl.ARPA

Scientific Time Sharing (STSC) of Rockville Maryland 301-984-5000 has a
product "APL*PLUS/UNX" which is a nicely extended APL implimentation for
unix systems.  It includes such extended features as generalized arrays, grade
sorts matricies, text by user collating sequence, each operator does for user
functions and APL system functions what scan, compress, inner/outer product do
for primitive operators (this elimenates almost all loops).  Includes "Native
Mode File" functions, ie quad-NREAD to read standard text files.

I've used their APL on an IBM PC which has all the above except generalized
arrays and the each function.  It is a beautiful implimentation.  I have not
tried the /UNX versions.

I have no formal relationship with STSC.  I am doing some testing (unpaid) for
them.

Dan Graifer
Re: Data structures in APL (re: proliferation of operators)
#197
Author: KW Heuer
Date: Mon, 19 May 1986 13:36
15 lines
1375 bytes
In article <2997@decwrl.DEC.COM> dec-cmkrnl!peterson writes:
>I have heard of some APLs which implement nested arrays.  Sounds like a
>step in the right direction.  But what do nested arrays buy the average
>APL user?  Besides 3 character string arguments to functions, I mean.

"Array of strings" is a natural concept which has no clean representation in
standard APL.  (Padding a 2D array destroys the significance of trailing
blanks, and may use an unacceptable amount of space.)  A function with three
string arguments is a special case of this.

Also, it's often useful to mix numeric and character data in the one object
(like "struct" in C).  This is a heterogeneous array rather than a nested
array, but some implementations handle both with the same language features.

Karl W. Z. Heuer (ihnp4!bentley!kwh), The Walking Lint
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads