Added ternary operator, resolved #46

This commit is contained in:
2023-01-14 10:24:15 +00:00
parent 4b60d65203
commit ae1dc5841e
11 changed files with 140 additions and 9 deletions

View File

@@ -76,6 +76,9 @@ typedef enum Opcode {
//pop the stack at the end of a complex statement
OP_POP_STACK,
//ternary shorthand
OP_TERNARY,
//meta
OP_FN_END, //different from SECTION_END
OP_SECTION_END = 255,