2,954
edits
No edit summary |
(Rework introduction) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 15: | Line 15: | ||
| download = [https://www.ibm.com/account/reg/us-en/signup?formid=urx-32206 APL2 for Multiplatforms] | | download = [https://www.ibm.com/account/reg/us-en/signup?formid=urx-32206 APL2 for Multiplatforms] | ||
| file ext = .apl | | file ext = .apl | ||
| documentation = [https://www | | documentation = [https://www.ibm.com/common/ssi/SearchResult.wss?MPPEFSCH=APL2 IBM Offering Information] | ||
| influenced by = [[ | | 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''' | '''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]] | 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 < | # 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 < | # 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 radians separated by the letter < | # Magnitude and angle in radians separated by the letter <syntaxhighlight lang=apl inline>R</syntaxhighlight> and no spaces, e.g. <syntaxhighlight lang=apl inline>1R1.5708</syntaxhighlight> | ||
No further core language features have been added, with improvements instead consisting of powerful [[Quad name]]s. | No further core language features have been added, with improvements instead consisting of powerful [[Quad name]]s. | ||