package code type Op uint8 const ( OpNop Op = iota OpHalt OpPushInt OpPushFloat OpPushString OpPushTrue OpPushFalse OpPushNull OpPushArray OpPushFunction OpPushObject OpShift OpDrop OpGetGlobal OpGetLocal OpGetMember OpGetMethod OpGetEnv OpSetEnv OpAddToEnv OpAdd OpSub OpIndex OpLte OpCall OpJmp OpJt OpJf OpRet // Temporary operations, which will be removed with the advent of methods. OpTempArrLen OpTempArrPush )