extlibs can now add variables and structs!

This commit is contained in:
2026-01-20 21:26:40 +11:00
parent 8eef78c310
commit c6762a7966
2 changed files with 40 additions and 2 deletions

View File

@@ -42,6 +42,7 @@ GroundFunction* parseFunction(GroundProgram* in, size_t errorOffset);
GroundValue interpretGroundProgram(GroundProgram* in, GroundScope* inScope);
GroundValue interpretGroundInstruction(GroundInstruction inst, GroundScope* scope);
void addVariable(GroundVariable **head, const char *id, GroundValue data);