APL2

From APL Wiki
Jump to navigation Jump to search

APL2 was a significant re-implementation of APL by IBM which was developed from 1971 and first released in 1984. It provides many additions to the language, of which the most notable is nested (non-rectangular) array support. As of 2018 it is 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. APL2 supports entry of complex numbers in the following forms:

  1. Real and imaginary part separated by the letter J and no spaces, e.g. 0J1
  2. Magnitude and angle in degrees separated by the letter D and no spaces, e.g. 1D90
  3. Magnitude and angle in radians separated by the letter R and no spaces, e.g. 1R1.5708

No further core language features have been added, but it feature a number of powerful Quad names.

The entire APL2 Products and Services Team was awarded the Iverson Award in 2007.


APL dialects [edit]
Maintained APL+Win (APL*PLUS) ∙ APL2APL64APL\ivCo-dfnsDyalog APLdzaima/APLGNU APLNARS2000ngn/apl
Historical Iverson notationA Programming LanguageA+ (A) ∙ APL#APL.68000APL.SVAPLXAPL\1130APL\360NARSopenAPLRowanSHARP APL (SAX) ∙ VisualAPL (APLNext) ∙ VSAPLYork APL
Derivatives ELIJK (Q, KDB+) ∙ LYaPASNialRAD