VTL: Very Tiny Language

[top]

  1. Size of interpreter is just 756bytes in Motolora M6800 8-bit MPU machine code.
  2. Example: prime number generation

    100 u=1000
    110 ?=2
    120 p=1
    130 p=p+2
    140 #=-1*(p>u)
    150 d=3
    160 #=200*(d*d>p)
    170 #=130*(p/d*d=p) 
    180 d=d+2
    190 #=160
    200 ?=p
    210 #=130
    

[top]