Wrote the interpreter

This commit is contained in:
2022-08-06 07:58:32 +01:00
parent 0048c92cf5
commit 7a3986af33
10 changed files with 292 additions and 27 deletions

View File

@@ -51,7 +51,7 @@ static void consumeByte(unsigned char byte, const char* str, int* count) {
static void consumeShort(unsigned short bytes, const char* str, int* count) {
if (bytes != *(unsigned short*)(str + *count)) {
printf("Failed to consume the correct byte");
printf("Failed to consume the correct bytes");
}
*count += 2;
}