Got the compiler partially working

This commit is contained in:
2022-08-05 16:29:12 +01:00
parent 1ff32fe101
commit cd05d5d84a
17 changed files with 601 additions and 26 deletions

View File

@@ -8,7 +8,13 @@ typedef enum Opcode {
//data
OP_LITERAL,
OP_LITERAL_LONG, //for more than 256 literals in a chunk
//operators
OP_NEGATE,
//meta
OP_SECTION_END,
//TODO: add more
} Opcode;