Started working on a decompiler, called 'bytecode inspector'

It only has a few instructions for now, but I can flesh it out over
time.
This commit is contained in:
2026-04-11 13:37:26 +10:00
parent 49a825aaf9
commit b32ea9f309
5 changed files with 273 additions and 97 deletions

View File

@@ -62,7 +62,7 @@ static void processRead(Toy_VM* vm) {
}
case TOY_VALUE_STRING: {
enum Toy_StringType stringType = READ_BYTE(vm);
Toy_StringType stringType = READ_BYTE(vm);
int len = (int)READ_BYTE(vm); //WARN: only used for name strings
(void)len;