= Older Versions of APL = <> == Overview == This page is for documenting examples of older versions of APL. This is primarily for nostalgic reasons. == APL \ 1130 == A simulator is available for [[http://ibm1130.org/sim/downloads|APL \ 1130]]. User KymFarnik has a build that uses 2741 emulation and Teraterm and is available here [[http://www.farnik.com/IBM1130/|IBM1130 Simulator with APL \ 1130]]. Note that APL \ 1130 was quite limited, eg. arrays could only have two dimensions and vectors were limited to 255 items. The [[https://en.wikipedia.org/wiki/IBM_1130|IBM 1130]] was a small engineering computer that was as close to a PC as was available at that time. There are a few IBM 1130's still maintained by enthusiasts today. There is an [[http://ibm1130.org/|IBM 1130 resource site]] that has a wealth of information. A copy of the [[http://media.ibm1130.org/E0015.pdf|student primer]] is available as a scanned PDF. Here is a sample of APL \ 1130 code implementing Conway's Game of Life {{{ ∇LIFE[⎕]∇ [0] NG←LIFE CG;W [1] W←CG+(¯1⊖CG)+(1⊖CG)+(¯1⌽CG)+(1⌽CG) [2] W←W+(1⊖1⌽CG)+(¯1⊖1⌽CG)+(1⊖¯1⌽CG)+(¯1⊖¯1⌽CG) [3] NG←(3=W)+(CG∧4=W) ∇ RP←5 5⍴0 0 0 0 0 0 0 1 1 0 0 1 1 0 0 0 0 1 0 0 RP 0 0 0 0 0 0 0 1 1 0 0 1 1 0 0 0 0 1 0 0 0 0 0 0 0 LIFE RP 0 0 0 0 0 0 1 1 1 0 0 1 0 0 0 0 1 1 0 0 0 0 0 0 0 LIFE LIFE RP 0 0 1 0 0 0 1 1 0 0 1 0 0 1 0 0 1 1 0 0 0 0 0 0 0 }}} == APL\360 == APL\360 was the first implementation of APL in 1968 that ran on an IBM 360. *[[http://keiapl.org/archive/APL360_UsersMan_Aug1968.pdf|APL\360 User Manual]] by Adin Falkoff and Ken Iverson *[[http://keiapl.org/archive/C20-1702-0_apl360primer1969.pdf|APL\360 Primer]] by Paul Berry *[[http://www.quadibloc.com/comp/aplint.htm|Remembering APL]] Article about early APL\360 *[[http://wotho.ethz.ch/mvt4apl-2.00/|An IBM 360 and APL\360 Emulator]]