Language Features: Difference between revisions

From NARS2000
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
At the moment, the following sections describe only those language features that are '''New''' or '''Enhanced''' relative to the Extended APL Standard, or that deserve special comment.
At the moment, the following sections describe only those language features that are '''New''' or '''Enhanced''' relative to the Extended APL Standard, or that deserve special comment.


* Syntax
==Syntax==
** [[Strand Assignment]]
* [[Strand Assignment]]:  <apll>(A<sub>1</sub> A<sub>2</sub> ... A<sub>n</sub>)←R</apll>
** [[Modify Assignment]]
* [[Modify Assignment]]:  <apll>A<i>f</i>←R</apll>
** [[Modify Strand Assignment]]
* [[Modify Strand Assignment]]:  <apll>(A<sub>1</sub> A<sub>2</sub> ... A<sub>n</sub>)<i>f</i>←R</apll>
** [[Function/Operator Assignment]]
* [[Function/Operator Assignment]]:  <apll>A←<i>f</i></apll>, <apll>A←<i>op1</i></apll>, <apll>A←<i>op2</i></apll>
** [[Sink]]
* [[Sink]]:  <apll>←A</apll>
* Primitive functions
==Primitive functions==
** [[Bracket Indexing]]
* [[Bracket Indexing]]:
** [[Index Generator]]
* [[Index Generator]]:
** [[Index Of]]
* [[Index Of]]:
** [[Matrix Inverse/Divide]]
* [[Matrix Inverse/Divide]]:
* Primitive operators
==Primitive operators==
** [[Axis]] (<apll><i>f</i>[<i>X</i>]</apll>, <apll><i>f op1</i>[<i>X</i>]</apll>, <apll><i>f op2</i>[<i>X</i>]g</apll>)
* [[Axis]]<apll><i>f</i>[<i>X</i>]</apll>, <apll><i>f op1</i>[<i>X</i>]</apll>, <apll><i>f op2</i>[<i>X</i>]g</apll>
** [[Composition]] (<apll><i>f</i>∘<i>g</i></apll>, <apll><i>f</i>∘R</apll>, <apll>L∘<i>g</i></apll>)
* [[Composition]]<apll><i>f</i>∘<i>g</i></apll>, <apll><i>f</i>∘R</apll>, <apll>L∘<i>g</i></apll>
** [[Null]] (<apll><i>f</i>⊙</apll>)
* [[Null]]<apll><i>f</i>⊙</apll>
** [[Rank]] (<apll><i>f</i>⍤X</apll>)
* [[Rank]]<apll><i>f</i>⍤X</apll>
** [[Rank with Axis]] (<apll><i>f</i>⍥[<i>X</i>]</apll>)
* [[Rank with Axis]]<apll><i>f</i>⍥[<i>X</i>]</apll>
* Datatypes
==Datatypes==
** [[Infinity|Infinity (<apll>_</apll> and <apll>¯_</apll>)]]
* [[Infinity]]:  <apll>_</apll> and <apll>¯_</apll>
** [[APA|Arithmetic Progression Arrays (<apll>2 3 4⍴⍳24</apll>)]]
* [[APA|Arithmetic Progression Arrays]]:  <apll>2 3 4⍴⍳24</apll>
** [[Unicode|Unicode Characters]]
* [[Unicode|Unicode Characters]]
* System Functions
==System Functions==
** [[CR|<apll>⎕CR</apll> (Canonical Representation)]]
* [[CR|<apll>⎕CR</apll> (Canonical Representation)]]
** [[DM|<apll>⎕DM</apll> (Diagnostic Message)]]
* [[DM|<apll>⎕DM</apll> (Diagnostic Message)]]
** [[DR|<apll>⎕DR</apll> (Data Representation)]]
* [[DR|<apll>⎕DR</apll> (Data Representation)]]
** [[ERROR|<apll>⎕ERROR</apll> (Error Signal)]]
* [[ERROR|<apll>⎕ERROR</apll> (Error Signal)]]
** [[SIZE|<apll>⎕SIZE</apll> (Object Size)]]
* [[SIZE|<apll>⎕SIZE</apll> (Object Size)]]
** [[SYSID|<apll>⎕SYSID</apll> (System Identifier)]]
* [[SYSID|<apll>⎕SYSID</apll> (System Identifier)]]
** [[SYSVER|<apll>⎕SYSVER</apll> (System Version)]]
* [[SYSVER|<apll>⎕SYSVER</apll> (System Version)]]
** [[TC|<apll>⎕TC</apll> and related <apll>⎕TC</apll>xxx (Terminal Control)]]
* [[TC|<apll>⎕TC</apll> and related <apll>⎕TC</apll>xxx (Terminal Control)]]
** [[TYPE|<apll>⎕TYPE</apll> (Prototype)]]
* [[TYPE|<apll>⎕TYPE</apll> (Prototype)]]
** [[UCS|<apll>⎕UCS</apll> (Universal Character Set)]]
* [[UCS|<apll>⎕UCS</apll> (Universal Character Set)]]
* System Variables
==System Variables==
** [[FC|<apll>⎕FC</apll> (Format Control)]]
* [[FC|<apll>⎕FC</apll> (Format Control)]]
** [[IC|<apll>⎕IC</apll> (Indeterminate Control)]]
* [[IC|<apll>⎕IC</apll> (Indeterminate Control)]]

Revision as of 04:03, 12 April 2008

At the moment, the following sections describe only those language features that are New or Enhanced relative to the Extended APL Standard, or that deserve special comment.

Syntax

Primitive functions

Primitive operators

Datatypes

System Functions

System Variables