added argument type annotations and runtime checks. To do that new opcodes were created (PUSHTYP, PUSHTYPTYP, ERROR)
This commit is contained in:
@@ -84,7 +84,10 @@ typedef enum {
|
||||
OPCODE_PUSHFUN,
|
||||
OPCODE_PUSHLST,
|
||||
OPCODE_PUSHMAP,
|
||||
OPCODE_PUSHTYP,
|
||||
OPCODE_PUSHTYPTYP,
|
||||
OPCODE_RETURN,
|
||||
OPCODE_ERROR,
|
||||
OPCODE_JUMPIFANDPOP,
|
||||
OPCODE_JUMPIFNOTANDPOP,
|
||||
OPCODE_JUMP,
|
||||
|
||||
Reference in New Issue
Block a user