Lexer partially working

This commit is contained in:
2022-08-03 14:06:54 +01:00
parent 3cad70dddd
commit 1ff32fe101
17 changed files with 687 additions and 34 deletions

14
source/opcodes.h Normal file
View File

@@ -0,0 +1,14 @@
#pragma once
typedef enum Opcode {
OP_EOF,
//basic operations
OP_PRINT,
//data
OP_LITERAL,
//TODO: add more
} Opcode;