Refactor function parsing

This commit is contained in:
2026-01-17 20:30:14 +11:00
parent 46bfa7fbf0
commit 52e1e8d3d4
2 changed files with 64 additions and 1 deletions

View File

@@ -37,6 +37,7 @@ typedef struct GroundDebugInstruction {
} GroundDebugInstruction;
GroundStruct parseStruct(GroundProgram* in, GroundScope* scope, size_t errorOffset);
GroundFunction* parseFunction(GroundProgram* in, size_t errorOffset);
GroundValue interpretGroundProgram(GroundProgram* in, GroundScope* inScope);
GroundValue interpretGroundInstruction(GroundInstruction inst, GroundScope* scope);