Too buggered to think today.

This commit is contained in:
2025-01-15 14:05:31 +11:00
parent 6c293cfc62
commit f9715c2016
3 changed files with 87 additions and 1 deletions

View File

@@ -56,3 +56,7 @@ typedef struct Toy_Routine {
} Toy_Routine;
TOY_API void* Toy_compileRoutine(Toy_Ast* ast);
//URGENT: Rename routines to ModuleBuilder
//URGENT: Rename bytecode to ModuleBundler
//URGENT: Compiled code is a "module"

View File

@@ -14,7 +14,7 @@
typedef struct Toy_VM {
//raw instructions to be executed
unsigned char* module;
unsigned char* module; //URGENT: rename to 'code'
unsigned int moduleSize;
unsigned int paramSize;