mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-18 00:04:09 +10:00
Got the compiler partially working
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user