#include "../../include/ground.h" void _GroundProgramExecute(GroundProgram* program, GroundState* state) { // Preprocess program, then run GroundProgram pp = Ground.Program.preprocess(program, state); if (Ground.Flags.error) { return; } Ground.Internal.run(&pp, state); if (Ground.Flags.error) { return; } Ground.Free.Program(&pp); }