Expose compiler in groundvm.h

This commit is contained in:
2026-01-21 15:54:18 +11:00
parent 063e85d24a
commit 3e9ce0dfc0
2 changed files with 6 additions and 0 deletions

View File

@@ -170,6 +170,7 @@ GroundProgram groundCreateProgram();
void groundAddInstructionToProgram(GroundProgram* program, GroundInstruction instruction);
GroundValue groundRunProgram(GroundProgram* program);
void groundPrintProgram(GroundProgram* program);
char* groundCompileProgram(GroundProgram* program);
GroundInstruction groundCreateInstruction(GroundInstType type);
void groundAddValueToInstruction(GroundInstruction* inst, GroundValue value);