APL2: Difference between revisions

From APL Wiki
Jump to navigation Jump to search
Miraheze>Adám Brudzewsky
m (Text replacement - "<code>" to "<source lang=apl inline>")
Miraheze>Adám Brudzewsky
m (Text replacement - "</code>" to "</source>")
Line 21: Line 21:


APL2's extensions to [[ISO 8485:1989]] were standardised as [[ISO-IEC-13751]]. APL2 supports entry of complex numbers in the following forms:
APL2's extensions to [[ISO 8485:1989]] were standardised as [[ISO-IEC-13751]]. APL2 supports entry of complex numbers in the following forms:
# Real and imaginary part separated by the letter <source lang=apl inline>J</code> and no spaces, e.g. <source lang=apl inline>0J1</code>
# Real and imaginary part separated by the letter <source lang=apl inline>J</source> and no spaces, e.g. <source lang=apl inline>0J1</source>
# Magnitude and angle in degrees separated by the letter <source lang=apl inline>D</code> and no spaces, e.g. <source lang=apl inline>1D90</code>
# Magnitude and angle in degrees separated by the letter <source lang=apl inline>D</source> and no spaces, e.g. <source lang=apl inline>1D90</source>
# Magnitude and angle in radians separated by the letter <source lang=apl inline>R</code> and no spaces, e.g. <source lang=apl inline>1R1.5708</code>
# Magnitude and angle in radians separated by the letter <source lang=apl inline>R</source> and no spaces, e.g. <source lang=apl inline>1R1.5708</source>
No further core language features have been added, but it feature a number of powerful [[Quad names]].
No further core language features have been added, but it feature a number of powerful [[Quad names]].



Revision as of 09:07, 29 October 2019

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.

Template:APL programming language