GAME: General Arithmetic Micro Expression

[top]

  1. Offspring of VTL.
  2. Allow direct memory access freely.
  3. Example: prime number generation.

    110 n=1000
    120 i=2 !=200
    130 @=i,3,n
    140   !=200
    150 @=i+2
    160 /
    170 #=-1
    180 '
    190 '
    200 d=3
    210 ;=d*d>i ?=i ]
    220 ;=i%d=0 ]
    230 d=d+2
    240 #=210
    

[top]