Differences between revisions 1 and 2
Revision 1 as of 2015-09-23 00:44:13
Size: 877
Editor: anonymous
Comment: Retro APL
Revision 2 as of 2015-09-23 00:47:13
Size: 972
Editor: anonymous
Comment: Primer
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:

A copy of the [[media.ibm1130.org/E0015.pdf|student primer]] is available as a scanned PDF.

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 APL \ 1130. User KymFarnik has a build that uses 2741 emulation and Teraterm.

A copy of the student primer is available as a scanned PDF.

Here is a sample of APL \ 1130 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

RetroAPL (last edited 2015-09-23 10:49:13 by anonymous)