APL2: Difference between revisions

Jump to navigation Jump to search
Rework introduction
mNo edit summary
(Rework introduction)
Line 16: Line 16:
| file ext                = .apl
| file ext                = .apl
| documentation          = [https://www.ibm.com/common/ssi/SearchResult.wss?MPPEFSCH=APL2 IBM Offering Information]
| documentation          = [https://www.ibm.com/common/ssi/SearchResult.wss?MPPEFSCH=APL2 IBM Offering Information]
| influenced by          = [[VS APL]]
| influenced by          = [[APL.SV]]
| influenced              = [[NARS2000]], [[Dyalog APL]], [[GNU APL]], [[APLX]], [[ISO/IEC 13751:2001]]
| influenced              = [[NARS2000]], [[Dyalog APL]], [[GNU APL]], [[APLX]], [[ISO/IEC 13751:2001]]
}}
}}
'''APL2''' was a significant re-implementation of APL by [[IBM]] which was developed from 1971 and first released in 1984. It provided many additions to the language, of which the most notable is nested (non-rectangular) array support. It was available for mainframe computers running z/OS or z/VM and workstations running AIX, Linux, Sun Solaris, and Microsoft Windows.
'''APL2''' is the family of APL implementations using the [[nested array model]], first released by [[IBM]] in 1984. The name stands in contrast to "APL1", which is taken to include all prior IBM APLs such as [[APL\360]], [[APL.SV]], and [[VS APL]]. Development was led by [[Jim Brown]], who began work in 1971 based on his just-published Ph.D. thesis.<ref>[[Jim Brown]]. [https://old.aplwiki.com/JimBrown APL Wiki user page]</ref> In addition to nested arrays and primitives to support them such as [[Depth]] and [[Enlist]], APL2 includes new primitives such as [[Find]] and [[Index]], and [[stranded assignment|stranded]] and [[selective assignment]]. APL2 was available for mainframe computers running z/OS or z/VM and workstations running AIX, Linux, Sun Solaris, and Microsoft Windows.


APL2's extensions to [[ISO 8485:1989]] were standardised as [[ISO/IEC 13751:2001]]. APL2 supports entry of [[complex number]]s in the following forms:
APL2's extensions to [[ISO 8485:1989]] formed the basis of [[ISO/IEC 13751:2001]]. APL2 supports entry of [[complex number]]s in the following forms:
# Real and imaginary part separated by the letter <syntaxhighlight lang=apl inline>J</syntaxhighlight> and no spaces, e.g. <syntaxhighlight lang=apl inline>0J1</syntaxhighlight>
# Real and imaginary part separated by the letter <syntaxhighlight lang=apl inline>J</syntaxhighlight> and no spaces, e.g. <syntaxhighlight lang=apl inline>0J1</syntaxhighlight>
# Magnitude and angle in degrees separated by the letter <syntaxhighlight lang=apl inline>D</syntaxhighlight> and no spaces, e.g. <syntaxhighlight lang=apl inline>1D90</syntaxhighlight>
# Magnitude and angle in degrees separated by the letter <syntaxhighlight lang=apl inline>D</syntaxhighlight> and no spaces, e.g. <syntaxhighlight lang=apl inline>1D90</syntaxhighlight>

Navigation menu