Separate engine and game

This commit is contained in:
2023-11-07 16:55:14 +01:00
parent 8a13edb838
commit 20034c96e6
922 changed files with 526 additions and 29 deletions

View File

@@ -0,0 +1,20 @@
#ifndef BREEZE_TOKENIZER_H
#define BREEZE_TOKENIZER_H
#include "../defines.h"
typedef struct Token {
const char *start;
int length;
int line;
} Token;
typedef struct Tokenizer {
const char *current;
int line;
} Tokenizer;
Tokenizer initTokenizer(const char *source);
Token scanToken(Tokenizer *tokenizer);
#endif //BREEZE_TOKENIZER_H