Skip to content

Let a Child Loose in APL!

Vector 6:1, page 27

education humour

Transcribed from the printed issue; not yet reviewed. Read it in the PDF of the issue, page 27

The following APL doodles are all the work of one Richard Smith, at the ages shown. They were done on APL*PLUS/PC, but with the I-APL keyboard layout to make it easier for him to identify the keys. (Reverse is much easier to hit if you don’t need the Alt-combination).

They were snapped by a little function called ZAP which simply took a screen copy into a variable named (for example) ZZ041083 (1st birthday in origin-0); Richard was unsupervised for all the examples shown, except for father occasionally sneaking up on the keyboard to ZAP anything interesting.

Incidentally we don’t have any APL labels on the keys, but we do have a Hercules+ card installed, so the APL symbols appear correctly on the screen.

-------- Age: 2 years 8 months --------

      .
      ^
      .
SYNTAX ERROR
      .
      ^

      C
CAT
      E
ELEPHANT
      8
8
      N→
SYNTAX ERROR
      N→
      ^
      N
NUT
      H
HANNAH
      M,M
MUMMUM

-------- Age: 2 years 8 months --------

4
      4+6
10
      4+1
5
      8+3
11
      9×8×9
648
      7+6
13
      5×4
20
      6+1
7
      5×8
40
      9×0
0
      9×7
63
      7×7

-------- Age: 2 years 11 months --------

      8/8
8 8 8 8 8 8 8 8
      9/9
9 9 9 9 9 9 9 9 9
      0/0

      7/7
7 7 7 7 7 7 7
      6/6
6 6 6 6 6 6
      5/5
5 5 5 5 5
      4/4
4 4 4 4
      3/3
3 3 3
      2/2
2 2
      1/1
1

-------- Age: 3 years 1 month --------

      14×⍳12
14 28 42 56 70 84 98 112 126 140 154 168
      4×⍳12
4 8 12 16 20 24 28 32 36 40 44 48
      3×⍳12
3 6 9 12 15 18 21 24 27 30 33 36
      2×⍳12
2 4 6 8 10 12 14 16 18 20 22 24
      1×⍳12
1 2 3 4 5 6 7 8 9 10 11 12
      0×⍳12
0 0 0 0 0 0 0 0 0 0 0 0
      5×⍳12
5 10 15 20 25 30 35 40 45 50 55 60

-------- Age: 3 years 4 months --------

      ⌽U⋄⌽E
PU
TNAHPELE

      ⌽U ⋄ ⌽E
ALLERBMU
EYE
      ⌽M⋄⌽U⋄⌽Y
NAM
PU
THCAY

      ⌽M ⋄ ⌽U ⋄ ⌽Y
PAM
REDNU
TRUHGOY

-------- Age: 4 years 3 months --------

      20 ⍴N
NO NO NO NO NO NO NO

      20⍴N
NET NET NET NET NET

      20⍴N
NIGHTSHIRT NIGHTSHIR

      20⍴N
NOSE NOSE NOSE NOSE

      20⍴N
NINCOMPOOP NINCOMPOO
      21⍴C
CLOUD CLOUD CLOUD CLO
      22⍴C
CASTLE CASTLE CASTLE C
      34⍴C
CRICKET CRICKET CRICKET CRICKET CR
      55⍴C
CLOUD CLOUD CLOUD CLOUD CLOUD CLOUD CLOUD CLOUD CLOUD C