Help for this page

Select Code to Download


  1. or download this
    MOVE       A B      R(A) := R(B)
    LOADK      A Bx     R(A) := K(Bx)
    ...
    SETLISTO   A Bx
    CLOSE      A        close stack variables up to R(A)
    CLOSURE    A Bx     R(A) := closure(KPROTO[Bx], R(A), ... ,R(A+n))
    
  2. or download this
    Control Flow (5 ops)
    
    ...
    WRITE               A      STDOUT.write(R(A))         write to stdout
    SAY                 A      STDOUT.writeln(R(A))       write + "\n"
    GRIPE               A      STDERR.write(R(A))         write to stderr