Differences between revisions 2 and 3
Revision 2 as of 2015-09-23 00:47:13
Size: 972
Editor: anonymous
Comment: Primer
Revision 3 as of 2015-09-23 04:13:42
Size: 1060
Editor: anonymous
Comment: Download for APL \ 1130
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
A simulator is available for [[http://ibm1130.org/sim/downloads|APL \ 1130]]. User KymFarnik has a build that uses 2741 emulation and Teraterm. 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]]

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 and is available here IBM1130 Simulator with APL \ 1130

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)