APL/700: Difference between revisions
Jump to navigation
Jump to search
(Add Category:APL dialects) |
m (Philadelphia Scientific Center link) |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
| numeric types = 48-bit float | | numeric types = 48-bit float | ||
| unicode support = no | | unicode support = no | ||
| released = around 1971 | |||
| implementation language = [[wikipedia:ALGOL 60|ALGOL 60]] | |||
| developer = [[wikipedia:Burroughs Corporation|Burroughs Corporation]] | | developer = [[wikipedia:Burroughs Corporation|Burroughs Corporation]] | ||
| platforms = [[wikipedia:Burroughs_large_systems#B6700_and_B7700|B 6700/B 7700]] | | platforms = [[wikipedia:Burroughs_large_systems#B6700_and_B7700|B 6700/B 7700]] | ||
| operating systems = [[wikipedia:Burroughs MCP|Burroughs MCP]] | | operating systems = [[wikipedia:Burroughs MCP|Burroughs MCP]] | ||
| documentation = [http://www.softwarepreservation.org/projects/apl/Manuals/APL700UserReferenceManual User Reference Manual (pdf)] | | documentation = [http://www.softwarepreservation.org/projects/apl/Manuals/APL700UserReferenceManual User Reference Manual (pdf)] | ||
| influenced by = [[APL.SV]] | | influenced by = [[APL\360]], [[APL.SV]] | ||
}} | }} | ||
'''APL/700''' was an APL implementation by [[wikipedia:Burroughs Corporation|Burroughs Corporation]] for their [[wikipedia:Burroughs_large_systems|700 series]] of mainframe computers. The | '''APL/700''' was an APL implementation by [[wikipedia:Burroughs Corporation|Burroughs Corporation]] for their [[wikipedia:Burroughs_large_systems|700 series]] of mainframe computers. | ||
* The statement separator was a semicolon (< | |||
* In primitive pairs with both a last and first [[axis]] version, for example < | The system was written in [[wikipedia:Paoli, Pennsylvania|Paoli]], by Jim Ryan, Glenn Martin, Jim Williams, and Ken Carvin. Ron Murray joined the team in 1974. Due to the physical location, just outside of Philadelphia, the team had close contact with [[Ken Iverson]] and [[Adin Falkoff]], who were at the [[IBM]]'s [[Philadelphia Scientific Center|Philadelphia office]] at that time. | ||
* While in general reduction using scalar functions were supported by for arrays of a compatible data type (numeric or character), < | |||
Though an an independent [[wikipedia:ALGOL 60|ALGOL 60]] implementation, it was based on the ideas from APL\360, and borrowed some ideas from [[APL.SV]].<ref>Private email from Ron Murray. 25 May 2001.</ref> | |||
== Unique features == | |||
Despite its similarity However, it also differed in quite a few details:<ref>[[wikipedia:Burroughs Corporation|Burroughs Corporation]]. [http://www.softwarepreservation.org/projects/apl/Manuals/APL700UserReferenceManual User Reference Manual] (5000813). 1975.</ref> | |||
* The statement separator was a semicolon (<syntaxhighlight lang=apl inline>;</syntaxhighlight>) rather than the conventional diamond <syntaxhighlight lang=apl inline>⋄</syntaxhighlight> and statements in such a so-called ''list'' were evaluated from right to left, much as if the semicolon was the Left [[identity]] function (<syntaxhighlight lang=apl inline>⊣</syntaxhighlight>). | |||
* In primitive pairs with both a last and first [[axis]] version, for example <syntaxhighlight lang=apl inline>/</syntaxhighlight> vs <syntaxhighlight lang=apl inline>⌿</syntaxhighlight> and <syntaxhighlight lang=apl inline>⌽</syntaxhighlight> vs <syntaxhighlight lang=apl inline>⊖</syntaxhighlight>, the first axis version would use the [[function axis]] syntax to indicate the applicable axis counted from the ''last'' axis rather than from the first axis. For example <syntaxhighlight lang=apl inline>⊖[1]</syntaxhighlight> was equivalent to <syntaxhighlight lang=apl inline>⌽</syntaxhighlight> just like <syntaxhighlight lang=apl inline>⌽[1]</syntaxhighlight> was equivalent to <syntaxhighlight lang=apl inline>⊖</syntaxhighlight>. | |||
* While in general reduction using scalar functions were supported by for arrays of a compatible data type (numeric or character), <syntaxhighlight lang=apl inline>=/</syntaxhighlight> and <syntaxhighlight lang=apl inline>≠/</syntaxhighlight> did not support character data. | |||
* APL/700 included [[modified assignment]], but the pass-through value was the new value of the updated array. | * APL/700 included [[modified assignment]], but the pass-through value was the new value of the updated array. | ||
* More [[set functions]] were included than even modern APLs have. In particular < | * More [[set functions]] were included than even modern APLs have. In particular <syntaxhighlight lang=apl inline>⊂</syntaxhighlight> and <syntaxhighlight lang=apl inline>⊂</syntaxhighlight> were Subset and Superset, though not strict subset and superset, but rather as <syntaxhighlight lang=apl inline>{∧/(,⍺)∊(,⍵)}</syntaxhighlight> and <syntaxhighlight lang=apl inline>{∧/(,⍵)∊(,⍺)}</syntaxhighlight>. All the set functions except for Membership were defined in terms of the [[ravel]] of the arguments, and thus always returned a [[vector]]. Furthermore, [[Union]] (<syntaxhighlight lang=apl inline>∪</syntaxhighlight>), [[Intersection]] (<syntaxhighlight lang=apl inline>∩</syntaxhighlight>), and [[Set difference]] (<syntaxhighlight lang=apl inline>~</syntaxhighlight>) returned only [[Unique]] elements, that is, a vector with no duplicates. | ||
* Format < | * Format <syntaxhighlight lang=apl inline>⍕</syntaxhighlight> allowed an advanced formatting specification through a character left argument. | ||
* Many additional [[quad name]]s were available, including a set of two-letter system functions with all the combinations of S/R/Q (for Stop, Reset, Query) with T/S/M (Trace, Stop, Monitor), and character constants for control characters (< | * Many additional [[quad name]]s were available, including a set of two-letter system functions with all the combinations of S/R/Q (for Stop, Reset, Query) with T/S/M (Trace, Stop, Monitor), and character constants for control characters (<syntaxhighlight lang=apl inline>⎕B</syntaxhighlight>, <syntaxhighlight lang=apl inline>⎕L</syntaxhighlight>, <syntaxhighlight lang=apl inline>⎕R</syntaxhighlight>, <syntaxhighlight lang=apl inline>⎕T</syntaxhighlight>, and <syntaxhighlight lang=apl inline>⎕N</syntaxhighlight> for Backspace, Linefeed, Return, Tab, and Null), the [[digits]] <syntaxhighlight lang=apl inline>⎕D</syntaxhighlight>, and the [[alphabet]] (<syntaxhighlight lang=apl inline>⎕A</syntaxhighlight>). | ||
* In a manner similar to, but more extensively than the much later [[APLX]], APL/700 had [[primitive function]]s for file operations. In addition to < | * In a manner similar to, but more extensively than the much later [[APLX]], APL/700 had [[primitive function]]s for file operations. In addition to <syntaxhighlight lang=apl inline>⍇</syntaxhighlight> and <syntaxhighlight lang=apl inline>⍈</syntaxhighlight> for read and write operations (as in APLX), it supported the following: | ||
** < | ** <syntaxhighlight lang=apl inline>⍍</syntaxhighlight> to create, rename and change password for files, and <syntaxhighlight lang=apl inline>⍔</syntaxhighlight> for deleting files. | ||
** < | ** <syntaxhighlight lang=apl inline>⍃</syntaxhighlight> and <syntaxhighlight lang=apl inline>⍄</syntaxhighlight> were used to read+pop and append components to the beginning and end of a file, respectively. | ||
** Equivalents of normal primitive functions for operations on component of files as if they were elements of a vectors: < | ** Equivalents of normal primitive functions for operations on component of files as if they were elements of a vectors: <syntaxhighlight lang=apl inline>⍐</syntaxhighlight> and <syntaxhighlight lang=apl inline>⍗</syntaxhighlight> acted like [[Take]] and [[Drop]] (<syntaxhighlight lang=apl inline>↑</syntaxhighlight> and <syntaxhighlight lang=apl inline>↓</syntaxhighlight>). <syntaxhighlight lang=apl inline>⌼</syntaxhighlight> would [[Reverse]] and [[Rotate]] (<syntaxhighlight lang=apl inline>⌽</syntaxhighlight>). <syntaxhighlight lang=apl inline>⍁</syntaxhighlight> and <syntaxhighlight lang=apl inline>⍂</syntaxhighlight> were [[Compress]] and [[Expand]] (<syntaxhighlight lang=apl inline>/</syntaxhighlight> and <syntaxhighlight lang=apl inline>\</syntaxhighlight>). | ||
** < | ** <syntaxhighlight lang=apl inline>⍓</syntaxhighlight> and <syntaxhighlight lang=apl inline>⍌</syntaxhighlight> and <syntaxhighlight lang=apl inline>⍗</syntaxhighlight> were used to hold, free, and release a file. | ||
** < | ** <syntaxhighlight lang=apl inline>⌸</syntaxhighlight> and <syntaxhighlight lang=apl inline>⍯</syntaxhighlight> returned maps for non-null and null components, respectively. | ||
** < | ** <syntaxhighlight lang=apl inline>⌻</syntaxhighlight> provided meta information about a file or the file system. | ||
== References == | == References == | ||
<references/> | <references/> | ||
{{APL dialects}}[[Category:APL dialects]][[Category:Flat array languages]] | {{APL dialects}}[[Category:APL dialects]][[Category:Flat array languages]] |
Latest revision as of 23:42, 15 April 2024
APL/700 was an APL implementation by Burroughs Corporation for their 700 series of mainframe computers.
The system was written in Paoli, by Jim Ryan, Glenn Martin, Jim Williams, and Ken Carvin. Ron Murray joined the team in 1974. Due to the physical location, just outside of Philadelphia, the team had close contact with Ken Iverson and Adin Falkoff, who were at the IBM's Philadelphia office at that time.
Though an an independent ALGOL 60 implementation, it was based on the ideas from APL\360, and borrowed some ideas from APL.SV.[1]
Unique features
Despite its similarity However, it also differed in quite a few details:[2]
- The statement separator was a semicolon (
;
) rather than the conventional diamond⋄
and statements in such a so-called list were evaluated from right to left, much as if the semicolon was the Left identity function (⊣
). - In primitive pairs with both a last and first axis version, for example
/
vs⌿
and⌽
vs⊖
, the first axis version would use the function axis syntax to indicate the applicable axis counted from the last axis rather than from the first axis. For example⊖[1]
was equivalent to⌽
just like⌽[1]
was equivalent to⊖
. - While in general reduction using scalar functions were supported by for arrays of a compatible data type (numeric or character),
=/
and≠/
did not support character data. - APL/700 included modified assignment, but the pass-through value was the new value of the updated array.
- More set functions were included than even modern APLs have. In particular
⊂
and⊂
were Subset and Superset, though not strict subset and superset, but rather as{∧/(,⍺)∊(,⍵)}
and{∧/(,⍵)∊(,⍺)}
. All the set functions except for Membership were defined in terms of the ravel of the arguments, and thus always returned a vector. Furthermore, Union (∪
), Intersection (∩
), and Set difference (~
) returned only Unique elements, that is, a vector with no duplicates. - Format
⍕
allowed an advanced formatting specification through a character left argument. - Many additional quad names were available, including a set of two-letter system functions with all the combinations of S/R/Q (for Stop, Reset, Query) with T/S/M (Trace, Stop, Monitor), and character constants for control characters (
⎕B
,⎕L
,⎕R
,⎕T
, and⎕N
for Backspace, Linefeed, Return, Tab, and Null), the digits⎕D
, and the alphabet (⎕A
). - In a manner similar to, but more extensively than the much later APLX, APL/700 had primitive functions for file operations. In addition to
⍇
and⍈
for read and write operations (as in APLX), it supported the following:⍍
to create, rename and change password for files, and⍔
for deleting files.⍃
and⍄
were used to read+pop and append components to the beginning and end of a file, respectively.- Equivalents of normal primitive functions for operations on component of files as if they were elements of a vectors:
⍐
and⍗
acted like Take and Drop (↑
and↓
).⌼
would Reverse and Rotate (⌽
).⍁
and⍂
were Compress and Expand (/
and\
). ⍓
and⍌
and⍗
were used to hold, free, and release a file.⌸
and⍯
returned maps for non-null and null components, respectively.⌻
provided meta information about a file or the file system.
References
- ↑ Private email from Ron Murray. 25 May 2001.
- ↑ Burroughs Corporation. User Reference Manual (5000813). 1975.
APL dialects [edit] | |
---|---|
Maintained | APL+Win ∙ APL2 ∙ APL64 ∙ APL\iv ∙ Aplette ∙ April ∙ Co-dfns ∙ Dyalog APL ∙ Dyalog APL Vision ∙ dzaima/APL ∙ GNU APL ∙ Kap ∙ NARS2000 ∙ Pometo ∙ TinyAPL |
Historical | A Programming Language ∙ A+ (A) ∙ APL# ∙ APL2C ∙ APL\360 ∙ APL/700 ∙ APL\1130 ∙ APL\3000 ∙ APL.68000 ∙ APL*PLUS ∙ APL.jl ∙ APL.SV ∙ APLX ∙ Extended Dyalog APL ∙ Iverson notation ∙ IVSYS/7090 ∙ NARS ∙ ngn/apl ∙ openAPL ∙ Operators and Functions ∙ PAT ∙ Rowan ∙ SAX ∙ SHARP APL ∙ Rationalized APL ∙ VisualAPL (APLNext) ∙ VS APL ∙ York APL |
Derivatives | AHPL ∙ BQN ∙ CoSy ∙ ELI ∙ Glee ∙ I ∙ Ivy ∙ J ∙ Jelly ∙ K (Goal, Klong, Q) ∙ KamilaLisp ∙ Lang5 ∙ Lil ∙ Nial ∙ RAD ∙ Uiua |
Overviews | Comparison of APL dialects ∙ Timeline of array languages ∙ Timeline of influential array languages ∙ Family tree of array languages |