Dyalog APL Vision: Difference between revisions

Jump to navigation Jump to search
m
→‎Features: Sort function links
m (→‎Features: Sort function links)
 
(4 intermediate revisions by one other user not shown)
Line 6: Line 6:
| numeric types            = [[complex]] floats, [[decimal float]]s
| numeric types            = [[complex]] floats, [[decimal float]]s
| unicode support          = full
| unicode support          = full
| released                = 2023
| released                = 2022
| latest release version  = unversioned/2023-04-21
| latest release version  = unversioned/2023-10-09
| developer                = [[Adám Brudzewsky]]
| developer                = [[Adám Brudzewsky]]
| implementation language  = [[Dyalog APL]]
| implementation language  = [[Dyalog APL]]
Line 17: Line 17:
}}
}}
'''Dyalog APL Vision''' continues the role of [[Extended Dyalog APL]], but tries to provide realistic extensions of [[Dyalog APL]] rather than simply extending the language as much as possible. It extends the domains of existing [[primitive]]s and [[quad name]]s and adds a few new ones.
'''Dyalog APL Vision''' continues the role of [[Extended Dyalog APL]], but tries to provide realistic extensions of [[Dyalog APL]] rather than simply extending the language as much as possible. It extends the domains of existing [[primitive]]s and [[quad name]]s and adds a few new ones.
 
== Features ==
All scalar functions support [[leading axis agreement]].
* All set functions support arguments of any rank.
* <syntaxhighlight lang=apl inline>⎕C</syntaxhighlight> and monadic <syntaxhighlight lang=apl inline>⎕UCS</syntaxhighlight> are scalar functions.
* In addition, the following is included:
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 47: Line 51:
| style="text-align: center;"| <code>$</code>
| style="text-align: center;"| <code>$</code>
| style="text-align: center;"| 🔺
| style="text-align: center;"| 🔺
| string enhancement <code><math display="inline">{1}</code>:`1⊃⍺`, <code></math>{expr}</code>:<code>⍎expr</code>, <code>\n</code>:JSON
| string enhancement <syntaxhighlight lang=apl inline>${1}</syntaxhighlight>:<syntaxhighlight lang=apl inline>1⊃⍺</syntaxhighlight>, <syntaxhighlight lang=apl inline>${expr}</syntaxhighlight>:<syntaxhighlight lang=apl inline>⍎expr</syntaxhighlight>, <syntaxhighlight lang=apl inline>\n</syntaxhighlight>:JSON
| <code>'Dyer' 'Bob'$'Hi, ${2} ${1}!</code><br/><code>$'Hi, ${first} ${last}!</code><br/><code>$'2×3=${2×3}'</code>
| <code>'Dyer' 'Bob'$'Hi, ${2} ${1}!</code><br/><code>$'Hi, ${first} ${last}!</code><br/><code>$'2×3=${2×3}'</code>
|-
|-
Line 72: Line 76:
| style="text-align: center;"| 🔶
| style="text-align: center;"| 🔶
| monad: Rank (<code>≢⍴</code>)
| monad: Rank (<code>≢⍴</code>)
| <code>⍷1'a'#</code> gives <code>0' '#</code>'
| <code>=10 20 30</code> gives <code>1</code>'
|-
|-
| GreaterOrEqual
| GreaterOrEqual
| style="text-align: center;"| <code>≥</code>
| style="text-align: center;"| <code>≥</code>
| style="text-align: center;"| 🔵
| style="text-align: center;"| 🔵
| monad: sort descending
| monad: [[sort descending]]
| <code>≥3 1 4 1 5</code> gives <code>5 4 3 1 1</code>
| <code>≥3 1 4 1 5</code> gives <code>5 4 3 1 1</code>
|-
|-
Line 107: Line 111:
| style="text-align: center;"| <code>≤</code>
| style="text-align: center;"| <code>≤</code>
| style="text-align: center;"| 🔵
| style="text-align: center;"| 🔵
| monad: sort ascending
| monad: [[sort ascending]]
| <code>≤3 1 4 1 5</code> gives <code>1 1 3 4 5</code>
| <code>≤3 1 4 1 5</code> gives <code>1 1 3 4 5</code>
|-
|-

Navigation menu