Dyalog Ltd. is likely soon to embark on the development of its own version of a far-reaching enhancement to APL notation.dimensional array wherein each expression defines a cell of that array:
Referred to as "Array Notation" it's based initially on the simple premise that rather than engendering a SYNTAX ERROR, an opening bracket, "[" closed on a subsequent line or after a diamond, delimits a multi-line expression that denotes a multi-
⍴ num←[1 1 2 3
5 8 3 1]
2 4
The principle is naturally recursive:
⍴ chr←[
['zero'
'one']
['two'
'three']
]
2 2 5
Over a number of years the idea was elaborated until Dyalog adopted it and continued to modify it after 2015.
There is a couple of pages in the APL Wiki that attempt to describe it.
It has been modelled in APL several times and has been implemented as a part of the language at least once.
I'm sure Dyalog would be pleased to accept suggestions and comments in their forums to hone their design. I suggest the "Language" forum at https://forums.dyalog.com/viewforum.php?f=13 would be the place to start.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 498 |
Nodes: | 16 (2 / 14) |
Uptime: | 56:47:07 |
Calls: | 9,812 |
Calls today: | 14 |
Files: | 13,754 |
Messages: | 6,190,891 |