mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
Lexer partially working
This commit is contained in:
14
source/opcodes.h
Normal file
14
source/opcodes.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
typedef enum Opcode {
|
||||
OP_EOF,
|
||||
|
||||
//basic operations
|
||||
OP_PRINT,
|
||||
|
||||
//data
|
||||
OP_LITERAL,
|
||||
|
||||
//TODO: add more
|
||||
} Opcode;
|
||||
|
||||
Reference in New Issue
Block a user