1
0
Fork 0
forked from fun/fun

Added typeof opcode to verify variable types.

This commit is contained in:
Johannes Findeisen 2025-09-16 03:45:25 +02:00
commit 7e9f24114e
6 changed files with 78 additions and 1 deletions

View file

@ -35,7 +35,7 @@ static const char *opcode_names[] = {
"MOD","AND","OR","NOT","DUP","SWAP",
"MAKE_ARRAY","INDEX_GET","INDEX_SET",
"LEN","ARR_PUSH","ARR_POP","ARR_SET","ARR_INSERT","ARR_REMOVE","SLICE",
"TO_NUMBER","TO_STRING",
"TO_NUMBER","TO_STRING","TYPEOF",
"SPLIT","JOIN","SUBSTR","FIND",
"CONTAINS","INDEX_OF","CLEAR",
"ENUMERATE","ZIP",